summaryrefslogtreecommitdiff
path: root/~lukeshu/xcalib/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /~lukeshu/xcalib/PKGBUILD
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to '~lukeshu/xcalib/PKGBUILD')
-rw-r--r--~lukeshu/xcalib/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/~lukeshu/xcalib/PKGBUILD b/~lukeshu/xcalib/PKGBUILD
new file mode 100644
index 000000000..0a8fda0ea
--- /dev/null
+++ b/~lukeshu/xcalib/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Contributor (AUR): Frank Ickstadt <frank.ickstadt@gmail.com>
+# Contributor (AUR): mOLOk
+
+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
+}