summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xrandr/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/xrandr/APKBUILD b/user/xrandr/APKBUILD
new file mode 100644
index 000000000..44137b5bd
--- /dev/null
+++ b/user/xrandr/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xrandr
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Command line interface to X RandR extension"
+url="https://www.X.Org/"
+arch="all"
+options="!check" # No test suite.
+license="MIT"
+subpackages="$pkgname-doc"
+depends=""
+makedepends="libxrandr-dev util-macros"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/bin/xkeystone
+}
+
+sha512sums="11d8fb1b98fbe215555d5bb875d82f80a7fd6a61c93ebf175c226f4f747570e8d18980add54a4b88d20dc637155074b2a558b34f035d66a465f324281d65f9e4 xrandr-1.5.0.tar.bz2"