summaryrefslogtreecommitdiff
path: root/datever/PKGBUILD
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-11-04 13:34:27 +0100
committerAki <please@ignore.pl>2024-11-04 13:34:27 +0100
commitbb9aad2af715ccadb660cc2b1f436ee21022439d (patch)
tree0b8e9898acf8d62ed89d53ff1f5ab7066c32aada /datever/PKGBUILD
parentba513927264c7ec86d3fa0c31d956d33c9acbc30 (diff)
downloadarch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.zip
arch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.tar.gz
arch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.tar.bz2
Added datever
Diffstat (limited to 'datever/PKGBUILD')
-rw-r--r--datever/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
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 <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
+}