Guest User

Untitled

a guest
Nov 24th, 2012
2,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # Maintainer: Michael Eckert <[email protected]>
  2. pkgname=xf86-video-intel-xwayland-git
  3. pkgver=20121125
  4. pkgrel=1
  5. pkgdesc="X.org Intel video drivers for XWayland"
  6. arch=('i686' 'x86_64')
  7. url="http://wayland.freedesktop.org/"
  8. license=('MIT')
  9. depends=( 'weston-git' 'wayland-git' 'xwayland-git' )
  10. makedepends=( 'git' )
  11. _gitroot="git://anongit.freedesktop.org/xorg/driver/xf86-video-intel"
  12. _gitname="xf86-video-intel"
  13.  
  14. build() {
  15. export C_INCLUDE_PATH=/opt/xwayland/include/xorg
  16. export PKG_CONFIG_PATH=/opt/xwayland/lib/pkgconfig/
  17.  
  18. cd $srcdir
  19. echo "Fetching source from GIT"
  20. if ! [ -d "$_gitname" ] ; then
  21. git clone "$_gitroot" -b xwayland
  22. cd "$_gitname"
  23. else
  24. # else pull sources
  25. cd "$_gitname" && git pull || true
  26. fi
  27. ./autogen.sh --prefix=/opt/xwayland
  28. make
  29. }
  30.  
  31. package() {
  32. cd "${srcdir}/${_gitname}"
  33. make DESTDIR=${pkgdir} install
  34. }
Advertisement
Add Comment
Please, Sign In to add comment