summaryrefslogtreecommitdiff
path: root/datever/PKGBUILD
blob: d2c34f5a01ccd9004189de0ad46d862da4825157 (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
# Maintainer: Aki <please at ignore pl>

pkgname=datever
_commit=ea23c5d
pkgver=20240618.3
pkgrel=1
license=(None)
pkgdesc='Generate date-based version for git repository'
arch=(any)
depends=(libgit2)
source=("${pkgname}::git+https://git.ignore.pl/${pkgname}#commit=${_commit}")
sha256sums=('SKIP')


build() {
	cd "${srcdir}/${pkgname}"
	make all
}


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