summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a5a68be49e93e5abec0d90b26d2ac15976e3fce (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
# Maintainer: gato_lento
# yaroslav <proninyaroslav@mail.ru>
# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
# adpoted from mOLOk since pkgver=0.7

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')
depends=('libxxf86vm' 'libxrandr')
makedepends=('git')
source=(${pkgname}::"git://github.com/OpenICC/xcalib.git")
sha256sums=('SKIP')

build() {
    cd ${pkgname}
    make
}

package() {
    cd ${pkgname}
    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/"
}