summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libxxf86misc/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libxxf86misc/APKBUILD b/user/libxxf86misc/APKBUILD
new file mode 100644
index 000000000..b092aa30d
--- /dev/null
+++ b/user/libxxf86misc/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxxf86misc
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="X11 XFree86 miscellaneous extension library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
+source="https://www.X.Org/releases/individual/lib/libXxf86misc-$pkgver.tar.bz2"
+builddir="$srcdir/libXxf86misc-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4df80bdf6cae9f43a1ddf09b078f354d0cfcab1861d073f3d274bc3a5dd0efe1057abae792f6c512e8f45286a62db95f85bf8c02de23fe96a76d8972cc1fdb7f libXxf86misc-1.0.3.tar.bz2"