archrelease: copy trunk to community-any
[ArchLinux/community.git] / xcalib / trunk / PKGBUILD
blobc7803a0ab44b91ebe7c5993599f4db01eabadd72
1 # Maintainer: Santiago Torres-Arias <santiago@archlinux.org>
2 # Maintainer: T.J. Townsend <blakkheim@archlinux.org>
3 # Contributor: Vasya Novikov <vnn91@yandex.ru>
4 # Contributor: gato_lento
5 # Contributor: Yaroslav <proniyaroslav@mail.ru>
6 # Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
7 # Contributor: mOLOk
9 pkgname=xcalib
10 pkgver=0.10
11 pkgrel=3
12 pkgdesc="Load 'vcgt'-tag profiles to X-server on the calibration stage"
13 arch=('x86_64')
14 url="https://github.com/OpenICC/xcalib"
15 license=('GPL2' 'custom:postcardware')
16 depends=('libxxf86vm' 'libxrandr')
17 makedepends=('git')
18 source=(git+https://github.com/OpenICC/xcalib.git#tag=${pkgver}?signed)
19 validpgpkeys=('9A81DA0F2F18F096BE94577051F5D211EB7A04C8') # Kai-Uwe Behrmann
20 sha256sums=('SKIP')
22 build() {
23         cd "$pkgname"
24         make
27 package() {
28         cd "$pkgname"
29     install -m755 -Dt "${pkgdir}/usr/bin" "xcalib" 
30     install -m644 -Dt "${pkgdir}/usr/share/man/man1/" "xcalib.1" 
31     install -m644 -Dt "${pkgdir}/usr/share/xcalib" *.icc
32     install -m644 -Dt "${pkgdir}/usr/share/pixmaps/${pkgname}.ico" "icon.ico"
34     # postcardware license stuff :)
35     install -m644 -Dt "${pkgdir}/usr/share/licenses/xcalib/" "README.md"