summaryrefslogtreecommitdiff
path: root/user/libxxf86vm/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 19:46:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 19:46:32 -0500
commit1efea133c8f21b54548ee713b621a77fbf75b205 (patch)
treed5b2ff476b85dad4a472f091a3f58570d76e0360 /user/libxxf86vm/APKBUILD
parentdfeb529a76e4f50af4680f78262e3af9a4047af4 (diff)
downloadpackages-1efea133c8f21b54548ee713b621a77fbf75b205.tar.gz
packages-1efea133c8f21b54548ee713b621a77fbf75b205.tar.bz2
packages-1efea133c8f21b54548ee713b621a77fbf75b205.tar.xz
packages-1efea133c8f21b54548ee713b621a77fbf75b205.zip
user/libxxf86vm: pull in, take, fix up
Diffstat (limited to 'user/libxxf86vm/APKBUILD')
-rw-r--r--user/libxxf86vm/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libxxf86vm/APKBUILD b/user/libxxf86vm/APKBUILD
new file mode 100644
index 000000000..0f8f91a4a
--- /dev/null
+++ b/user/libxxf86vm/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxxf86vm
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="X11 XFree86 video mode 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/libXxf86vm-$pkgver.tar.bz2"
+builddir="$srcdir"/libXxf86vm-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="c5f92d86e143db02ebb36bcd25618acaa2cb2831f5a23800a06dd431cd73b6702d95de8fe7407ce626336bf614c288d5256f4d87ea7781fad2ab6c517cbf09e0 libXxf86vm-1.1.4.tar.bz2"