diff options
Diffstat (limited to 'main/dri2proto/APKBUILD')
-rw-r--r-- | main/dri2proto/APKBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/dri2proto/APKBUILD b/main/dri2proto/APKBUILD new file mode 100644 index 0000000000..77f866e5f3 --- /dev/null +++ b/main/dri2proto/APKBUILD @@ -0,0 +1,20 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dri2proto +pkgver=2.1 +pkgrel=0 +pkgdesc="X11 DRI protocol" +url="http://xorg.freedesktop.org/" +license="custom" +depends="" +makedepends="" +source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="5cb7987d29db068153bdc8f23c767c43 dri2proto-2.1.tar.bz2" |