void-packages/srcpkgs/angrysearch/template
2016-10-02 00:00:52 +03:00

27 lines
1,015 B
Bash

# Template file for 'angrysearch'
pkgname=angrysearch
version=1.0.0
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=6dd2b97da63ab98f08d412bd31a0cd0413ac542d80cc7603e08b94ca13133fbe
do_install() {
vinstall angrysearch.desktop 644 "usr/share/applications"
vinstall angrysearch.svg 644 "usr/share/pixmaps"
vinstall scandir.py 644 "usr/share/angrysearch"
vinstall resource_file.py 644 "usr/share/angrysearch"
vinstall qdarkstylesheet.qss 644 "usr/share/angrysearch"
vinstall angrysearch_update_database.py 755 "usr/share/angrysearch"
vinstall angrysearch.py 755 "usr/share/angrysearch"
vmkdir usr/bin/
ln -s ../share/angrysearch/angrysearch.py "$DESTDIR/usr/bin/angrysearch.py"
}