Advertisement
Guest User

libglvnd-git

a guest
Jan 10th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.80 KB | None | 0 0
  1. # $Id$
  2. # Maintainer:
  3. _pkgname=libglvnd
  4. pkgname=libglvnd-git
  5. pkgver=r308.e5225e3
  6. pkgrel=4
  7. pkgdesc="The GL Vendor-Neutral Dispatch library"
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/NVIDIA/libglvnd"
  10. license=('custom')
  11. depends=('nvidia-libgl')
  12. makedepends=('git' 'autoconf' 'automake' 'libtool' 'xorg-server-devel')
  13. provides=('libglvnd')
  14. #source=("libglvnd::git+https://github.com/NVIDIA/libglvnd.git")
  15. source=("libglvnd::git+https://github.com/aaronp24/libglvnd.git")
  16. md5sums=('SKIP')
  17.  
  18. pkgver() {
  19.   cd ${_pkgname}
  20.   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  21. }
  22.  
  23. build() {
  24.   cd ${_pkgname}
  25.   ./autogen.sh
  26.   ./configure \
  27.       --prefix=/usr \
  28.       --enable-static=no
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd ${_pkgname}
  34.   make DESTDIR="$pkgdir" install
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement