aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distribute/arch_linux/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/distribute/arch_linux/PKGBUILD b/distribute/arch_linux/PKGBUILD
index 79bfea8..3e35f5b 100644
--- a/distribute/arch_linux/PKGBUILD
+++ b/distribute/arch_linux/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: dec05eba <dec05eba at protonmail.com>
pkgname=sibs-git
-pkgver=0.1.2rf3d7.5272351f
+pkgver=0.1.4.r64.g57683e5
pkgrel=1
pkgdesc='Simple build system for native languages'
arch=('i686' 'x86_64')
@@ -19,6 +19,11 @@ build() {
make
}
+pkgver() {
+ cd "$srcdir"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
check() {
cd "$srcdir/$provides"
./cmake/sibs test