Permalink
Browse files

[xf86-video-nested-git] want to give this a whirl

  • Loading branch information...
1 parent fb192d0 commit 18d0d6302c815302d5e05765aba2367313384ba0 @mmonaco committed Apr 4, 2012
Showing with 45 additions and 0 deletions.
  1. +45 −0 xf86-video-nested/PKGBUILD
View
@@ -0,0 +1,45 @@
+#Maintainer: Matt Monaco <net 0x01b dgbaley27>
+
+pkgname=xf86-video-nested-git
+pkgver=20120403
+pkgrel=1
+pkgdesc="Driver to run Xorg on top of Xorg or something else."
+url="http://cgit.freedesktop.org/xorg/driver/xf86-video-nested"
+license=("MIT")
+source=()
+md5sums=()
+groups=("xorg-drivers")
+arch=("x86_64" "i686")
+backup=()
+depends=("libxext")
+makedepends=("xorg-server-devel")
+options=("!libtool")
+
+_gitroot="http://cgit.freedesktop.org/xorg/driver/xf86-video-nested"
+_gitname="$pkgname"
+
+build()
+{
+ cd "$srcdir"
+
+ if [[ ! -d "$_gitname" ]]; then
+ git clone "$_gitroot" "$_gitname"
+ cd "$_gitname"
+ else
+ cd "$_gitname"
+ git pull
+ fi
+
+ git clean -xdf
+
+ ./autogen.sh --disable-maintainer-mode --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package()
+{
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: set noet :

0 comments on commit 18d0d63

Please sign in to comment.