summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSandy Carter2020-04-29 10:03:11 +0200
committerSandy Carter2020-04-29 10:03:11 +0200
commit66f3afc7efcd3b9c758ac6af1e409d2886e43acd (patch)
tree7aefae308ec512d47d56af95eb7873bbcce11615 /PKGBUILD
parent56185e7a21ed2550e21aa6047417aa9a9356df2b (diff)
downloadaur-66f3afc7efcd3b9c758ac6af1e409d2886e43acd.tar.gz
ignore master-tot tag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bd30f9a3eb5..045e3bde0fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,7 @@
-# Maintainer: Johannes Sjolund <j dot sjolund at gmail dot com>
pkgname=glslang-git
-_gitname=glslang
-pkgver=SPIRV99.130.g9d565d9
-pkgrel=2
-pkgdesc='Khronos reference front-end for GLSL and ESSL, git version'
+pkgver=8.13.3743.3.gf03cb290
+pkgrel=1
+pkgdesc='Front end for GLSL/ESSL, HLSL, and a SPIR-V generator, git version'
arch=('x86_64' 'i686')
url='http://www.khronos.org/opengles/sdk/tools/Reference-Compiler'
license=('GPL')
@@ -15,15 +13,19 @@ source=("git://github.com/KhronosGroup/glslang.git")
sha256sums=('SKIP')
pkgver() {
- cd "${srcdir}/${_gitname}"
- git describe --tags | sed -e 's:v::' -e 's/-/./g'
+ cd "${srcdir}/${pkgname%-git}"
+ git describe --tags --exclude master-tot | sed -e 's:v::' -e 's/-/./g'
}
+
build() {
- cd "${srcdir}/${_gitname}"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../glslang
- make
+ cd "${srcdir}/${pkgname%-git}"
+ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ cmake --build .
}
+
package() {
- cd "${srcdir}/${_gitname}"
- make DESTDIR="$pkgdir/" install
+ cd "${srcdir}/${pkgname%-git}"
+ cmake --install . -v --strip --prefix "$pkgdir/usr"
}
+
+# vim:set ts=2 sw=2 et: