summaryrefslogtreecommitdiff
path: root/user/libxxf86misc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 23:56:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 23:56:40 -0500
commite230104c4e97d6713989e0b320e08328cda8e0f8 (patch)
tree086f240e0db7bb5e90d4fd0bc5e10589102a3028 /user/libxxf86misc/APKBUILD
parent850a8481c5bd432131e4477a3139896249f8938e (diff)
downloadpackages-e230104c4e97d6713989e0b320e08328cda8e0f8.tar.gz
packages-e230104c4e97d6713989e0b320e08328cda8e0f8.tar.bz2
packages-e230104c4e97d6713989e0b320e08328cda8e0f8.tar.xz
packages-e230104c4e97d6713989e0b320e08328cda8e0f8.zip
user/libxxf86misc: pull in, take, fix
Diffstat (limited to 'user/libxxf86misc/APKBUILD')
-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"