summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/xf86-video-nouveau/APKBUILD39
-rw-r--r--testing/xf86-video-nouveau/APKBUILD30
2 files changed, 39 insertions, 30 deletions
diff --git a/main/xf86-video-nouveau/APKBUILD b/main/xf86-video-nouveau/APKBUILD
new file mode 100644
index 000000000..afb46d00a
--- /dev/null
+++ b/main/xf86-video-nouveau/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor:
+# Maintainer:
+pkgname=xf86-video-nouveau
+_gitdate=20110506
+pkgver=0.0.16_git${_gitdate}
+pkgrel=1
+pkgdesc="Open-source X.org drivers for nVidia video cards"
+url="http://nouveau.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=
+makedepends="pkgconfig randrproto renderproto videoproto xextproto libdrm-dev xorg-server-dev util-macros libtool autoconf automake xf86driproto"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dev.alpinelinux.org/~nenolod/xf86-video-nouveau-${_gitdate}.tar.bz2"
+
+_builddir="${srcdir}/${pkgname}-${_gitdate}"
+
+mksource() {
+ mkdir /tmp/${pkgname}-${_gitdate}
+ (cd /tmp/${pkgname}-${_gitdate};
+ git clone -v --depth 1 git://anongit.freedesktop.org/nouveau/xf86-video-nouveau;
+ cd xf86-video-nouveau;
+ git archive --prefix=xf86-video-nouveau-${_gitdate}/ --format=tar HEAD | bzip2 > /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2)
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="f48ffca3436988f5ffe915d7b47192a9 xf86-video-nouveau-20110506.tar.bz2"
diff --git a/testing/xf86-video-nouveau/APKBUILD b/testing/xf86-video-nouveau/APKBUILD
deleted file mode 100644
index 518a51998..000000000
--- a/testing/xf86-video-nouveau/APKBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Contributor:
-# Maintainer:
-pkgname=xf86-video-nouveau
-pkgver=0.0.16
-pkgrel=0
-pkgdesc="Open-source X.org drivers for nVidia video cards"
-url="http://nouveau.freedesktop.org/"
-arch="all"
-license="MIT"
-depends=""
-depends_dev=
-makedepends="pkgconfig randrproto renderproto videoproto xextproto libdrm-dev xorg-server-dev util-macros libtool autoconf automake xf86driproto"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-video-nouveau/xserver-xorg-video-nouveau_$pkgver+git20101210+8bb8231.orig.tar.gz"
-
-_builddir="$srcdir/$pkgname"
-
-build() {
- cd "$_builddir"
- ./autogen.sh --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
-}
-
-md5sums="65067b46401f385ba833130d634fe319 xserver-xorg-video-nouveau_0.0.16+git20101210+8bb8231.orig.tar.gz"