summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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"