diff options
author | Rafał Kozdrój | 2019-09-05 16:21:36 +0200 |
---|---|---|
committer | Rafał Kozdrój | 2019-09-05 16:29:07 +0200 |
commit | 8ee3e3f4178bf10d9312d8dde2a389c6bb507994 (patch) | |
tree | cb5d8f4c9bbefb3eaa8e5ef5b6036dadf653f7c4 /PKGBUILD | |
parent | ee0dcd34bdeabbfabfa12d288106264fe8e0a298 (diff) | |
download | aur-8ee3e3f4178bf10d9312d8dde2a389c6bb507994.tar.gz |
Remove conflicting files.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3,7 +3,7 @@ _pkgname=lib32-libglvnd pkgname=$_pkgname-git -pkgver=1.0.0.r0.g005fd3a +pkgver=1.1.1.r10.g396433b pkgrel=1 pkgdesc="The GL Vendor-Neutral Dispatch library" arch=('x86_64') @@ -27,18 +27,25 @@ build() { cd libglvnd ./autogen.sh - ./configure --prefix=/usr --libdir=/usr/lib32/ --build=i686-unknown-linux-gnu + ./configure \ + --prefix=/usr \ + --disable-headers \ + --libdir=/usr/lib32/ \ + --build=i686-unknown-linux-gnu make } package() { # lib32-libglvnd needs lib32-mesa for indirect rendering - depends=('lib32-libxext' 'libglvnd-git' 'lib32-mesa' 'lib32-opengl-driver') + depends=('lib32-libxext' 'libglvnd' 'lib32-mesa' 'lib32-opengl-driver') cd libglvnd make DESTDIR="$pkgdir" install rm -r "$pkgdir"/usr/include + + # These files are in lib32-mesa package + rm "$pkgdir"/usr/lib32/pkgconfig/{egl,gl,glesv1_cm,glesv2}.pc mkdir -p "$pkgdir"/usr/share/licenses ln -s libglvnd-git "$pkgdir"/usr/share/licenses/$pkgname |