summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libxext/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libxext/APKBUILD b/user/libxext/APKBUILD
new file mode 100644
index 000000000..70f0f9b4e
--- /dev/null
+++ b/user/libxext/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxext
+pkgver=1.3.3
+pkgrel=3
+pkgdesc="X11 miscellaneous extensions library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=
+depends_dev="libxau-dev"
+makedepends="$depends_dev libx11-dev util-macros xmlto xorgproto"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXext-$pkgver.tar.bz2
+ "
+builddir="$srcdir"/libXext-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-xmlto \
+ --without-fop
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="669d61545d10b999872addbf5628127840a221cbeaafb5ffa4328e0e0e1823583ece973bcafd5f13852ed58d4b0fe313a35f304ac80c6ed2b382cbbca977761a libXext-1.3.3.tar.bz2"