summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:31:27 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:31:27 -0500
commit9358d3bf92468921d1ca37a9a51e59c0a923e7bb (patch)
tree7b86ee44ced14a5f3ae8c2accd3c1c03deddc582
parent0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85 (diff)
downloadpackages-9358d3bf92468921d1ca37a9a51e59c0a923e7bb.tar.gz
packages-9358d3bf92468921d1ca37a9a51e59c0a923e7bb.tar.bz2
packages-9358d3bf92468921d1ca37a9a51e59c0a923e7bb.tar.xz
packages-9358d3bf92468921d1ca37a9a51e59c0a923e7bb.zip
user/libx11: now with 100% more X11, take, fix
-rw-r--r--user/libx11/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libx11/APKBUILD b/user/libx11/APKBUILD
new file mode 100644
index 000000000..c6ecfdeb6
--- /dev/null
+++ b/user/libx11/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libx11
+pkgver=1.6.5
+pkgrel=2
+pkgdesc="X11 client-side library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+depends=
+depends_dev="xtrans"
+makedepends="$depends_dev libxcb-dev util-macros xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libX11-$pkgver.tar.bz2"
+builddir="$srcdir"/libX11-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-xcb
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="63c40d37c92b8d1ac78541830b0c624c4e936924b26bce769936e0e2523fa8997be364647705057065f803f804897ea8173d1c41ef69a92832f20cc7c0fd40a0 libX11-1.6.5.tar.bz2"