void-packages/srcpkgs/angrysearch/template

30 lines
1.0 KiB
Bash
Raw Normal View History

2016-07-29 01:59:12 +02:00
# Template file for 'angrysearch'
pkgname=angrysearch
2016-10-01 22:17:01 +02:00
version=1.0.0
revision=4
2016-07-29 01:59:12 +02:00
wrksrc="ANGRYsearch-${version}"
hostmakedepends="python3"
2016-10-17 01:22:05 +02:00
depends="python3-PyQt5 xdg-utils"
2016-07-29 01:59:12 +02:00
noarch=yes
short_desc="Instant file search"
maintainer="DirectorX <DirectorX@users.noreply.github.com>"
license="GPL-2"
homepage="https://github.com/dotheevo/angrysearch/"
pycompile_version="$py3_ver"
2016-07-29 01:59:12 +02:00
pycompile_dirs="usr/share/angrysearch"
distfiles="http://github.com/dotheevo/${pkgname}/archive/v${version}.tar.gz"
2016-10-01 22:17:01 +02:00
checksum=6dd2b97da63ab98f08d412bd31a0cd0413ac542d80cc7603e08b94ca13133fbe
2016-07-29 01:59:12 +02:00
do_install() {
2016-10-01 22:17:01 +02:00
vinstall angrysearch.desktop 644 "usr/share/applications"
vinstall angrysearch.svg 644 "usr/share/pixmaps"
2016-07-29 01:59:12 +02:00
vinstall scandir.py 644 "usr/share/angrysearch"
vinstall resource_file.py 644 "usr/share/angrysearch"
2016-10-01 22:17:01 +02:00
vinstall qdarkstylesheet.qss 644 "usr/share/angrysearch"
vinstall angrysearch_update_database.py 755 "usr/share/angrysearch"
vinstall angrysearch.py 755 "usr/share/angrysearch"
2016-07-29 01:59:12 +02:00
2016-10-01 22:17:01 +02:00
vmkdir usr/bin/
ln -s ../share/angrysearch/angrysearch.py "$DESTDIR/usr/bin/angrysearch.py"
2016-07-29 01:59:12 +02:00
}