Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Michael Eckert <[email protected]>
- pkgname=xf86-video-intel-xwayland-git
- pkgver=20121125
- pkgrel=1
- pkgdesc="X.org Intel video drivers for XWayland"
- arch=('i686' 'x86_64')
- url="http://wayland.freedesktop.org/"
- license=('MIT')
- depends=( 'weston-git' 'wayland-git' 'xwayland-git' )
- makedepends=( 'git' )
- _gitroot="git://anongit.freedesktop.org/xorg/driver/xf86-video-intel"
- _gitname="xf86-video-intel"
- build() {
- export C_INCLUDE_PATH=/opt/xwayland/include/xorg
- export PKG_CONFIG_PATH=/opt/xwayland/lib/pkgconfig/
- cd $srcdir
- echo "Fetching source from GIT"
- if ! [ -d "$_gitname" ] ; then
- git clone "$_gitroot" -b xwayland
- cd "$_gitname"
- else
- # else pull sources
- cd "$_gitname" && git pull || true
- fi
- ./autogen.sh --prefix=/opt/xwayland
- make
- }
- package() {
- cd "${srcdir}/${_gitname}"
- make DESTDIR=${pkgdir} install
- }
Advertisement
Add Comment
Please, Sign In to add comment