summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-08-17 10:29:46 -0400
committerVincent Grande2020-08-17 10:29:46 -0400
commit595324500132178ffe6875056e1f66d049310a4d (patch)
treed48ab05c44f2dac7305f42855a553e21d0fe5dcd
parentc2d281e7e61ede8584f14fb6b850c70a1914d781 (diff)
downloadaur-595324500132178ffe6875056e1f66d049310a4d.tar.gz
pkgver
-rw-r--r--PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8d7cb032a2f..48bbd1e5ef3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,12 @@ validpgpkeys+=('SKIP') # Matthieu Herrb <matthieu.herrb@laas.fr>
validpgpkeys+=('SKIP') # Matt Turner <mattst88@gmail.com>
validpgpkeys+=('SKIP') # Adam Jackson <ajax@nwnk.net>
+pkgver() {
+ cd "libx11"
+
+ git describe --long --tags | sed 's/^libX11-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build() {
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"