void-packages/srcpkgs/angrysearch/template

28 lines
1003 B
Bash

# Template file for 'angrysearch'
pkgname=angrysearch
version=1.0.3
revision=1
pycompile_dirs="usr/share/angrysearch"
hostmakedepends="python3"
depends="python3-PyQt5 xdg-utils"
short_desc="Instant file search"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/dotheevo/angrysearch/"
distfiles="http://github.com/dotheevo/angrysearch/archive/v${version}.tar.gz"
checksum=bb20907d97804931863f377fe19ac2008a9e43c80517f775667f9fe49792c585
python_version=3
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"
}