summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c983b2e4701208fb44fb85acd7df7c6e7e6e4921 (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=8.d511efa
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
}