extra/libglvnd to 1.2.0-1

This commit is contained in:
Kevin Mihelich 2019-10-03 12:43:12 +00:00
parent fcf36b293b
commit 1597f9241f

View file

@ -4,7 +4,7 @@
# - disable assembly on !armv7h
pkgname=libglvnd
pkgver=1.1.1
pkgver=1.2.0
pkgrel=1
pkgdesc="The GL Vendor-Neutral Dispatch library"
arch=('x86_64')
@ -14,14 +14,15 @@ makedepends=('libxext' 'libx11' 'glproto' 'python')
provides=('libgl' 'libegl' 'libgles')
source=("$pkgname-$pkgver.tar.gz::https://github.com/NVIDIA/libglvnd/archive/v$pkgver.tar.gz"
LICENSE)
sha512sums=('f64a481be002b108bc45147f9ecddc97561d09b15dd2fee82e76642f8d298f5b21458042dea3083ade650181d5f937bf550bba2914fbf46a774990abdbc56883'
sha512sums=('0e0e9c3f303739c73f5bee4c2aaef9eff56440345f2f1ce285ee98eb94c1e5e740774dd501aeeed1299aa25a449d813a850e95282999a3ca4648d2381d6c8fa6'
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
build() {
cd $pkgname-$pkgver
./autogen.sh
[[ $CARCH != "armv7h" ]] && CONFIG="--disable-asm"
./configure --prefix=/usr $CONFIG
./configure --prefix=/usr \
--disable-headers $CONFIG
make
}
@ -31,6 +32,6 @@ package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}