summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees at me.com>2018-08-03 03:08:35 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-03 09:44:22 +0000
commit1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9 (patch)
treed589faeaa0df1466dcb7c84ce8038eb13a781f8f
parentfd038c48dbdf6cee0cc738446332cc354f47463f (diff)
downloadpackages-1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9.tar.gz
packages-1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9.tar.bz2
packages-1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9.tar.xz
packages-1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9.zip
user/xrandr: pull in and fixup
-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"