summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc3c59666037b7707bc1bae986e33819fa801d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: sg

pkgname=pacgui
pkgver=13.50a4429
pkgrel=1
pkgdesc="System updates with a simple pacman GUI, based on Zenity"
arch=('any')
license=('GPLv3')
url="https://gitlab.com/it-me/pacgui"
install=${pkgname}.install
depends=('zenity' 'pacman-contrib')
source=('git+https://gitlab.com/it-me/pacgui')
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package()
{
	install -m755 -D ${srcdir}/${pkgname}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}.sh
	install -m644 -D ${srcdir}/${pkgname}/${pkgname}.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service
	install -m644 -D ${srcdir}/${pkgname}/${pkgname}.timer ${pkgdir}/usr/lib/systemd/user/${pkgname}.timer
	install -m644 -D ${srcdir}/${pkgname}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}