New package: angrysearch-0.9.9

This commit is contained in:
DirectorX 2016-07-29 02:59:12 +03:00
parent 07485391c1
commit a93e40dee9

View file

@ -0,0 +1,32 @@
# Template file for 'angrysearch'
pkgname=angrysearch
version=0.9.9
revision=1
wrksrc="ANGRYsearch-${version}"
depends="python3.4-PyQt5 xdg-utils"
noarch=yes
short_desc="Instant file search"
maintainer="DirectorX <DirectorX@users.noreply.github.com>"
license="GPL-2"
homepage="https://github.com/dotheevo/angrysearch/"
pycompile_dirs="usr/share/angrysearch"
distfiles="http://github.com/dotheevo/${pkgname}/archive/v${version}.tar.gz"
checksum=d2e8d9985fd9d34c9a4c14fcc57cdc6c4888bb260c95b18015de5f869bb3f9ad
do_install() {
vinstall angrysearch.py 755 "usr/share/angrysearch"
vinstall angrysearch_update_database.py 755 "usr/share/angrysearch"
vinstall angrysearch.desktop 644 "usr/share/angrysearch"
vinstall angrysearch.svg 644 "/usr/share/angrysearch"
vinstall scandir.py 644 "usr/share/angrysearch"
vinstall resource_file.py 644 "usr/share/angrysearch"
vinstall qdarkstylesheet.qss 644 "/usr/share/angrysearch"
vmkdir "usr/bin"
vmkdir "share/pixmaps"
vmkdir "usr/share/applications"
ln -s "/usr/share/angrysearch/angrysearch.py" "$DESTDIR/usr/bin/angrysearch"
ln -s "/usr/share/angrysearch/angrysearch.svg" "$DESTDIR/usr/share/pixmaps"
ln -s "/usr/share/angrysearch/angrysearch.desktop" "$DESTDIR/usr/share/applications"
}