summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8880307ead69431684dae7f471298ea080909349 (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=bigjubel-git
pkgver=10.2.3.r0.g0414093
pkgrel=1
pkgdesc="command line utility to calculate current jubilees"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://gitlab.com/dkabus/bigjubel"
license=('GPL')
depends=()
makedepends=('git' 'make' 'gcc')
provides=('bigjubel')
conflicts=('bigjubel')
source=('bigjubel-git::git+https://gitlab.com/dkabus/bigjubel')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname}"
	git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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