summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2021-01-03 21:35:18 -0500
committerVincent Grande2021-01-03 21:35:18 -0500
commit5719be8494ab069a0c62bc5251bccfd411bbd3e0 (patch)
treecf4d38c7e12e2de8eb2ff17e45bad2653b07d6ce
parenta17397785054e18518670dba310788e3e4a463a1 (diff)
downloadaur-5719be8494ab069a0c62bc5251bccfd411bbd3e0.tar.gz
add pkgver
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 07eb714cdc4..1f2ed5c38cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,19 +16,24 @@ source=("git+https://gitlab.freedesktop.org/mesa/glu.git")
sha512sums=('SKIP')
#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
+pkgver() {
+ cd glu
+ git describe --tags | sed 's/-/+/g'
+}
+
build() {
- cd "$srcdir/glu"
+ cd glu
./autogen.sh
./configure --prefix=/usr --disable-static
make
}
#check() {
-# cd "$srcdir/glu"
+# cd glu
# make -k check
#}
package() {
- cd "$srcdir/glu"
+ cd glu
make DESTDIR="$pkgdir/" install
}