summaryrefslogtreecommitdiff
path: root/~lukeshu/xcalib/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-09-26 16:33:17 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-09-26 16:33:17 -0400
commit928f7e0d03b6d5952462ce955ce66f5b80dfdeb8 (patch)
treebe8e8866cc6b68a76dbc3bc1d2d8ea972e2e137e /~lukeshu/xcalib/PKGBUILD
parent250a51839dd1346d49bc64909a660b00bc2ac7af (diff)
downloadabslibre-928f7e0d03b6d5952462ce955ce66f5b80dfdeb8.tar.gz
abslibre-928f7e0d03b6d5952462ce955ce66f5b80dfdeb8.tar.bz2
abslibre-928f7e0d03b6d5952462ce955ce66f5b80dfdeb8.zip
add ~lukeshu/xcalib from AUR
Diffstat (limited to '~lukeshu/xcalib/PKGBUILD')
-rw-r--r--~lukeshu/xcalib/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/~lukeshu/xcalib/PKGBUILD b/~lukeshu/xcalib/PKGBUILD
new file mode 100644
index 000000000..e2e053f11
--- /dev/null
+++ b/~lukeshu/xcalib/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
+# adpoted from mOLOk since pkgver=0.7
+
+pkgname=xcalib
+pkgver=0.8
+pkgrel=4
+pkgdesc="A tiny monitor calibration loader for X.org"
+arch=(i686 x86_64)
+url="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/"
+license=('GPL')
+depends=(libxxf86vm)
+source=(http://downloads.sourceforge.net/xcalib/xcalib-source-$pkgver.tar.gz
+ makefile-ldflags.patch)
+md5sums=('1fbcae44ad8d754512fdd1e5f1b3a7e7'
+ '6c74457011515dd1cc7f2474af761142')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/"
+ patch -p0 < ../makefile-ldflags.patch
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/"
+ install -Dm755 xcalib $pkgdir/usr/bin/xcalib
+
+ for i in README *.icc *.icm; do
+ install -Dm644 $i $pkgdir/usr/share/xcalib/$i
+ done
+}