diff options
author | Aki <please@ignore.pl> | 2024-11-04 13:34:27 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-11-04 13:34:27 +0100 |
commit | bb9aad2af715ccadb660cc2b1f436ee21022439d (patch) | |
tree | 0b8e9898acf8d62ed89d53ff1f5ab7066c32aada | |
parent | ba513927264c7ec86d3fa0c31d956d33c9acbc30 (diff) | |
download | arch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.zip arch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.tar.gz arch-ignore-bb9aad2af715ccadb660cc2b1f436ee21022439d.tar.bz2 |
Added datever
-rw-r--r-- | datever/.SRCINFO | 11 | ||||
-rw-r--r-- | datever/.gitignore | 1 | ||||
-rw-r--r-- | datever/PKGBUILD | 24 |
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 +} |