summaryrefslogtreecommitdiffstats
path: root/main/xproto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xproto/APKBUILD')
-rw-r--r--main/xproto/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/xproto/APKBUILD b/main/xproto/APKBUILD
new file mode 100644
index 000000000..87f6c66d2
--- /dev/null
+++ b/main/xproto/APKBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xproto
+pkgver=7.0.16
+pkgrel=0
+pkgdesc="X11 core wire protocol and auxiliary headers"
+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 -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+md5sums="75c9edff1f3823e5ab6bb9e66821a901 xproto-7.0.16.tar.bz2"