summaryrefslogtreecommitdiff
path: root/pcr-testing/xcalib/PKGBUILD
blob: f6fa710bc8eff97055439fc3cccc59d42331670d (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
32
33
34
35
36
37
38
# Maintainer: bill-auger <bill-auger@programmer.net>
# Contributor: gato_lento
# Contributor: yaroslav <proninyaroslav@mail.ru>
# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
# Contributor: mOLOk


pkgname=xcalib
pkgver=0.10
pkgrel=1

pkgdesc="A tiny monitor calibration loader for X.org"
arch=('i686' 'x86_64')
url=https://github.com/OpenICC/xcalib
license=('GPL2')

makedepends=()
depends=('libxxf86vm' 'libxrandr')
source=(https://github.com/OpenICC/${pkgname}/archive/${pkgver}.tar.gz)
sha256sums=('67dbf2dcc4ae67fde48b48630980c1fa6f89fda5810347f616ec85094c274055')


build()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  make
}

package()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  install -d                "${pkgdir}/usr/"{share/xcalib,share/man/man1,bin}
  install -m755 xcalib      "${pkgdir}/usr/bin"
  install -m644 *.icc *.icm "${pkgdir}/usr/share/xcalib/"
  install -m644 *.1         "${pkgdir}/usr/share/man/man1/"
}