summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 281acb0a4c8df011b056f3488e4649a269ea7a18 (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
# Maintainer: Desmond Kabus <desmond.kabus@protonmail.com>

pkgname=checkupdates-systemd-git
pkgver=r7.d2b8af6
pkgrel=1
pkgdesc="Systemd service and timer to check for updates using pacman-contrib"
arch=('any')
url="https://gitlab.com/dkabus/checkupdates-systemd"
license=('GPL')
depends=('pacman-contrib' 'systemd')
makedepends=('git' 'make')
provides=('checkupdates-systemd')
conflicts=('checkupdates-systemd')
source=('checkupdates-systemd-git::git+https://gitlab.com/dkabus/checkupdates-systemd')
md5sums=('SKIP')

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

package() {
	cd "$srcdir/${pkgname}"
	make DESTDIR="$pkgdir/" install
}