summaryrefslogtreecommitdiff
path: root/user/xgamma
diff options
context:
space:
mode:
Diffstat (limited to 'user/xgamma')
-rw-r--r--user/xgamma/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xgamma/APKBUILD b/user/xgamma/APKBUILD
new file mode 100644
index 000000000..d93f3853b
--- /dev/null
+++ b/user/xgamma/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xgamma
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="Tools for manipulating gamma on X11 displays"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev libxxf86vm-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xgamma-$pkgver.tar.bz2"
+
+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
+}
+
+sha512sums="2d41798e15ac8c6f6731a2da29589207d936eaee1223ce6f3ca948e67d63c5c8b955d11c7db092dcd8c66a6209bd15c1de3dc1446dad4b4277134f010c6fc47a xgamma-1.0.6.tar.bz2"