aboutsummaryrefslogtreecommitdiffstats
path: root/main/dri3proto
diff options
context:
space:
mode:
Diffstat (limited to 'main/dri3proto')
-rw-r--r--main/dri3proto/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/dri3proto/APKBUILD b/main/dri3proto/APKBUILD
new file mode 100644
index 0000000000..19ec2a9ac8
--- /dev/null
+++ b/main/dri3proto/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dri3proto
+pkgver=1.0
+pkgrel=0
+pkgdesc="X11 DRI 3 protocol"
+url="http://xorg.freedesktop.org/"
+arch="all"
+license="custom"
+depends=""
+makedepends=""
+source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="a3d2cbe60a9ca1bf3aea6c93c817fee3 dri3proto-1.0.tar.bz2"
+sha256sums="01be49d70200518b9a6b297131f6cc71f4ea2de17436896af153226a774fc074 dri3proto-1.0.tar.bz2"
+sha512sums="d2925bc2e2bfb3f30c4dc3082d84dc6a2e7d8ea02021ea02d681cbf92e6b256e9e4e0f5abfc394aa0c7762d841b1c8f82d2098c616ca1d7f4a3b5fd8a54f01f8 dri3proto-1.0.tar.bz2"