summaryrefslogtreecommitdiff
path: root/~lukeshu/xcalib/PKGBUILD
blob: 0a8fda0ea38278d704107663646941d8d3873de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}