systrayUpdater/PKGBUILD

31 lines
839 B
Bash
Raw Normal View History

2023-12-07 18:57:10 -06:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
2023-12-08 22:46:04 -06:00
pkgname=systrayupdater
2023-12-09 10:13:56 -06:00
pkgver=r49.b4cad83
2023-12-07 18:57:10 -06:00
pkgrel=1
2023-12-08 22:30:03 -06:00
pkgdesc="PyQt5 system tray applet notifier of available updates"
2023-12-07 18:57:10 -06:00
arch=('x86_64')
url="https://github.com/ericlay/$pkgname"
license=('GPL3')
depends=('python'
'python-pyqt5'
'python-yaml'
2023-12-08 23:00:14 -06:00
'hicolor-icon-theme'
2023-12-07 18:57:10 -06:00
'pacman')
makedepends=('git')
optdepends=()
2023-12-07 19:06:07 -06:00
source=("git+https://github.com/ericlay/$pkgname.git")
2023-12-07 18:57:10 -06:00
md5sums=('SKIP')
pkgver(){
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$pkgname"
2023-12-08 22:46:04 -06:00
install -Dm755 systray-updater -t "$pkgdir/usr/bin"
2023-12-08 22:30:03 -06:00
install -Dm755 config.yml -t "$pkgdir/etc/$pkgname"
install -Dm666 systrayupdater.desktop -t "$pkgdir/usr/share/applications"
2023-12-09 10:00:14 -06:00
install -Dm644 icons/*.svg -t "$pkgdir/usr/share/icons/hicolor/symbolic/apps"
2023-12-07 19:12:02 -06:00
}