From bb9aad2af715ccadb660cc2b1f436ee21022439d Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Nov 2024 13:34:27 +0100 Subject: Added datever --- datever/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 datever/PKGBUILD (limited to 'datever/PKGBUILD') diff --git a/datever/PKGBUILD b/datever/PKGBUILD new file mode 100644 index 0000000..d2c34f5 --- /dev/null +++ b/datever/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Aki + +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 +} -- cgit v1.1