From a0ae6e30017d130b4e3f36d8953c210fa7f273ad Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Jul 2018 04:32:46 -0500 Subject: user/libxrandr: pull in, take, fix --- user/libxrandr/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/libxrandr/APKBUILD (limited to 'user') 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 +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" -- cgit v1.2.3-70-g09d2