summaryrefslogtreecommitdiff
path: root/pcr/angrysearch
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-03-15 20:08:16 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-03-15 20:08:16 -0400
commit0e64a3667863413e4e087c298b0c729804509e1f (patch)
treebcf7c6b5081112e30c1746bd35176f49a151585a /pcr/angrysearch
parent2a9b4085957304ec265d3e4b5440565567f007d1 (diff)
downloadabslibre-0e64a3667863413e4e087c298b0c729804509e1f.tar.gz
abslibre-0e64a3667863413e4e087c298b0c729804509e1f.tar.bz2
abslibre-0e64a3667863413e4e087c298b0c729804509e1f.zip
add angrysearch
Diffstat (limited to 'pcr/angrysearch')
-rw-r--r--pcr/angrysearch/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/angrysearch/PKGBUILD b/pcr/angrysearch/PKGBUILD
new file mode 100644
index 000000000..5eeb36d09
--- /dev/null
+++ b/pcr/angrysearch/PKGBUILD
@@ -0,0 +1,32 @@
+# (Arch) Maintainer: DoTheEvolution <DoTheEvo@gmail.com>
+pkgname="angrysearch"
+pkgver=0.9.5
+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=("763ccd218cf67359a768554bcbe78467b7da7552f3aa6bbbb65a728acce84969")
+
+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"
+}