summaryrefslogtreecommitdiff
path: root/pcr/angrysearch/PKGBUILD
blob: 5d5996f7fb3f75dbf62fff9226ac19019cd6dc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer (AUR): DoTheEvolution <DoTheEvo@gmail.com>

# parabola changes and rationale:
#  no changes.

pkgname="angrysearch"
pkgver=1.0.1
pkgrel=1
pkgdesc="Instant file search"
arch=("any")
url="https://github.com/dotheevo/angrysearch/"
license=("GPL")
depends=("python-pyqt5" "libxkbcommon-x11" "xdg-utils")
optdepends=("python-gobject: desktop notifications support"
            "xdotool: Thunar & PCmanFM to select file on path open")
source=("https://github.com/DoTheEvo/ANGRYsearch/archive/v$pkgver.tar.gz")
sha256sums=("9a550649c3efafb26660860758f2e75702ce96a0a0c50dc34ced2967b51a843f")

package() {
 cd "ANGRYsearch-$pkgver"
 install -Dm755 angrysearch.py "$pkgdir/usr/share/angrysearch/angrysearch.py"
 install -Dm755 angrysearch_update_database.py "$pkgdir/usr/share/angrysearch/angrysearch_update_database.py"
 install -Dm644 angrysearch.desktop "$pkgdir/usr/share/angrysearch/angrysearch.desktop"
 install -Dm644 angrysearch.svg "$pkgdir/usr/share/angrysearch/angrysearch.svg"
 install -Dm644 scandir.py "$pkgdir/usr/share/angrysearch/scandir.py"
 install -Dm644 resource_file.py "$pkgdir/usr/share/angrysearch/resource_file.py"
 install -Dm644 qdarkstylesheet.qss "$pkgdir/usr/share/angrysearch/qdarkstylesheet.qss"

 install -d "$pkgdir/usr/bin"
 install -d "$pkgdir/usr/share/pixmaps"
 install -d "$pkgdir/usr/share/applications"

 ln -s "/usr/share/angrysearch/angrysearch.py" "$pkgdir/usr/bin/angrysearch"
 ln -s "/usr/share/angrysearch/angrysearch.svg" "$pkgdir/usr/share/pixmaps"
 ln -s "/usr/share/angrysearch/angrysearch.desktop" "$pkgdir/usr/share/applications"
}