summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--datever/.SRCINFO11
-rw-r--r--datever/.gitignore1
-rw-r--r--datever/PKGBUILD24
3 files changed, 36 insertions, 0 deletions
diff --git a/datever/.SRCINFO b/datever/.SRCINFO
new file mode 100644
index 0000000..f41b027
--- /dev/null
+++ b/datever/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = datever
+ pkgdesc = Generate date-based version for git repository
+ pkgver = 20240618.3
+ pkgrel = 1
+ arch = any
+ license = None
+ depends = libgit2
+ source = datever::git+https://git.ignore.pl/datever#commit=ea23c5d
+ sha256sums = SKIP
+
+pkgname = datever
diff --git a/datever/.gitignore b/datever/.gitignore
new file mode 100644
index 0000000..ca44457
--- /dev/null
+++ b/datever/.gitignore
@@ -0,0 +1 @@
+datever/
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
+}