# Maintainer: Eric Lay pkgname=systrayupdater pkgver=r53.3a58e9a pkgrel=1 pkgdesc="PyQt5 system tray applet notifier of available updates" arch=('any') url="https://github.com/ericlay/$pkgname" license=('GPL3') depends=('python' 'python-pyqt5' 'python-yaml' 'pacman-contrib' 'hicolor-icon-theme') makedepends=('git') optdepends=() source=("git+https://github.com/ericlay/$pkgname.git") md5sums=('SKIP') pkgver(){ cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "$srcdir/$pkgname" install -Dm755 systray-updater -t "$pkgdir/usr/bin" install -Dm755 config.yml -t "$pkgdir/etc/$pkgname" install -Dm666 systrayupdater.desktop -t "$pkgdir/usr/share/applications" install -Dm644 icons/*.svg -t "$pkgdir/usr/share/icons/$pkgname" }