summaryrefslogtreecommitdiff
path: root/user/libxrandr
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxrandr')
-rw-r--r--user/libxrandr/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libxrandr/APKBUILD b/user/libxrandr/APKBUILD
new file mode 100644
index 000000000..0e2d1f3e1
--- /dev/null
+++ b/user/libxrandr/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxrandr
+pkgver=1.5.1
+pkgrel=2
+pkgdesc="X11 RandR extension library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=
+depends_dev="libxext-dev"
+makedepends="$depends_dev libx11-dev libxrender-dev util-macros xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXrandr-$pkgver.tar.bz2"
+builddir="$srcdir"/libXrandr-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="ddcee1c50da8810412fd747b05a073ee5522b2f3b0a74e6a9b48b489ce9712356d1bc3009f8898aeee85671cdb44e2dafa04c8caf23d97963b36b1af9174445a libXrandr-1.5.1.tar.bz2"