summaryrefslogtreecommitdiff
path: root/user/libxinerama/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 22:21:33 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 22:21:33 -0500
commit99023d6ae27da93618846e91fe677345b72e5d54 (patch)
tree94fdc061a8813b282ffb6757b9361eb26dcacf21 /user/libxinerama/APKBUILD
parent76eaaf565d10391ffe4f8994247c77db2bf6ac3e (diff)
downloadpackages-99023d6ae27da93618846e91fe677345b72e5d54.tar.gz
packages-99023d6ae27da93618846e91fe677345b72e5d54.tar.bz2
packages-99023d6ae27da93618846e91fe677345b72e5d54.tar.xz
packages-99023d6ae27da93618846e91fe677345b72e5d54.zip
user/libxinerama: take, bump, fix
Diffstat (limited to 'user/libxinerama/APKBUILD')
-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"