diff options
Diffstat (limited to 'main/dri2proto/APKBUILD')
-rw-r--r-- | main/dri2proto/APKBUILD | 14 |
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" |