summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5250e3028a6920c17b91e97f9321f3edd77906e4 (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.r10.gf9e3327
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
}