summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libxxf86dga/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libxxf86dga/APKBUILD b/user/libxxf86dga/APKBUILD
new file mode 100644
index 000000000..9df55acd4
--- /dev/null
+++ b/user/libxxf86dga/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxxf86dga
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="X11 Direct Graphics Access 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/libXxf86dga-$pkgver.tar.bz2"
+builddir="$srcdir"/libXxf86dga-$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="58d81a7850275fc8382018bcc56dbc65b4200828b1f1379dcee3da1878f12a83ee681a9d474bcd564d99bf93bedfeb7b243370e0ebb89177652b37cee158a3f2 libXxf86dga-1.1.4.tar.bz2"