aboutsummaryrefslogtreecommitdiffstats
path: root/community/xcalib
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 19:23:19 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-25 08:25:48 -0300
commit464c60dc1ed99468c90816d63da8778755300199 (patch)
tree9cc6e886491534d4fc1bdd8d8d951601cf4f9926 /community/xcalib
parente3b0af743e91f0b5289daba9de399d6a4c9abd83 (diff)
downloadaports-464c60dc1ed99468c90816d63da8778755300199.tar.bz2
aports-464c60dc1ed99468c90816d63da8778755300199.tar.xz
community/xcalib: move from main
Diffstat (limited to 'community/xcalib')
-rw-r--r--community/xcalib/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/xcalib/APKBUILD b/community/xcalib/APKBUILD
new file mode 100644
index 0000000000..3b88b70870
--- /dev/null
+++ b/community/xcalib/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=xcalib
+pkgver=0.10
+pkgrel=0
+pkgdesc="A tiny monitor calibration loader for X.org"
+url="https://github.com/OpenICC/xcalib"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="libx11-dev libxxf86vm-dev libxrandr-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenICC/xcalib/archive/$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ make xcalib
+}
+
+package() {
+ cd "$builddir"
+ install -Dm755 xcalib $pkgdir/usr/bin/xcalib
+
+ for i in *.icc *.icm; do
+ install -Dm644 $i $pkgdir/usr/share/xcalib/$i
+ done
+}
+
+sha512sums="c52252c903125bf95592d35a75c818be196dd92a86ceab39e0a933162e04e160f2303d20e5892e72a23a7e8067c1e8d785381b4c327980a6fab22ed093c28f41 xcalib-0.10.tar.gz"