summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-29 07:16:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-29 07:16:12 +0000
commitc8dedbc1bdd4c049fc2e703ee8c53b36ac5d782f (patch)
tree1b4f7bceecd24935ae94cd56a32a3cc1f335eb36 /main
parent0c3f430c1219f597a6fda8b892e9425b41169041 (diff)
downloadaports-c8dedbc1bdd4c049fc2e703ee8c53b36ac5d782f.tar.bz2
aports-c8dedbc1bdd4c049fc2e703ee8c53b36ac5d782f.tar.xz
main/dri2proto: upgrade to 2.3
Diffstat (limited to 'main')
-rw-r--r--main/dri2proto/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/dri2proto/APKBUILD b/main/dri2proto/APKBUILD
index 77f866e5f..d927dc320 100644
--- a/main/dri2proto/APKBUILD
+++ b/main/dri2proto/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dri2proto
-pkgver=2.1
+pkgver=2.3
pkgrel=0
pkgdesc="X11 DRI protocol"
url="http://xorg.freedesktop.org/"
@@ -9,12 +9,16 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="5cb7987d29db068153bdc8f23c767c43 dri2proto-2.1.tar.bz2"
+md5sums="3407b494d5e90d584c9af52aa8f9f028 dri2proto-2.3.tar.bz2"