summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 04:32:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 04:32:46 -0500
commita0ae6e30017d130b4e3f36d8953c210fa7f273ad (patch)
treed1d069cf8e180d02b7f13102c531e53a8e0f1f16
parente61b25da98062e5769515666da077587489f62c4 (diff)
downloadpackages-a0ae6e30017d130b4e3f36d8953c210fa7f273ad.tar.gz
packages-a0ae6e30017d130b4e3f36d8953c210fa7f273ad.tar.bz2
packages-a0ae6e30017d130b4e3f36d8953c210fa7f273ad.tar.xz
packages-a0ae6e30017d130b4e3f36d8953c210fa7f273ad.zip
user/libxrandr: pull in, take, fix
-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"