summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libxinerama/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libxinerama/APKBUILD b/user/libxinerama/APKBUILD
new file mode 100644
index 000000000..6e0b849ba
--- /dev/null
+++ b/user/libxinerama/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxinerama
+pkgver=1.1.4
+pkgrel=0
+pkgdesc="X11 Xinerama extension library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
+source="https://www.X.Org/releases/individual/lib/libXinerama-$pkgver.tar.bz2"
+builddir="$srcdir"/libXinerama-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="cff777ad942614fbf6bc6d8529f399e62debf3ecbf6cc0694a94e38c022bf929ffd5636fb59f55533c394d89b23af3ea51fa5128927f12a85787e16239330f14 libXinerama-1.1.4.tar.bz2"