aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcalib
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-17 12:11:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-17 12:11:38 +0000
commitc2d06a9972a606e1022764d57c50a23c87295fa3 (patch)
treeff5ee3c412ea076d6e0ec08edf3b3af5cc78d262 /main/xcalib
parent16ab94186999a490bcd83f9fd36033ef35fc2117 (diff)
downloadaports-c2d06a9972a606e1022764d57c50a23c87295fa3.tar.bz2
aports-c2d06a9972a606e1022764d57c50a23c87295fa3.tar.xz
main/xcalib: move from testing
Diffstat (limited to 'main/xcalib')
-rw-r--r--main/xcalib/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/xcalib/APKBUILD b/main/xcalib/APKBUILD
new file mode 100644
index 0000000000..7ca8b2ef50
--- /dev/null
+++ b/main/xcalib/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=xcalib
+pkgver=0.8
+pkgrel=0
+pkgdesc="A tiny monitor calibration loader for X.org"
+url="http://xcalib.sourceforge.net/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libx11-dev libxxf86vm-dev"
+install=""
+source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make xcalib || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm755 xcalib $pkgdir/usr/bin/xcalib
+
+ for i in README *.icc *.icm; do
+ install -Dm644 $i $pkgdir/usr/share/xcalib/$i
+ done
+
+}
+
+md5sums="1fbcae44ad8d754512fdd1e5f1b3a7e7 xcalib-source-0.8.tar.gz"
+sha256sums="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6 xcalib-source-0.8.tar.gz"
+sha512sums="08d4cf579e566543ef7e5d233a6a49dd34a791a6aac31510d459d2300ec81828cf77ba2c495ee0c5e72e910c1986fc53c9ccd8f8455f097747508dd6adae8216 xcalib-source-0.8.tar.gz"