aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcalib/APKBUILD
blob: 7ca8b2ef5054ca50270057d404786ddd4abbc46a (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
39
40
41
42
43
44
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xcalib
pkgver=0.8
pkgrel=0
pkgdesc="A tiny monitor calibration loader for X.org"
url="http://xcalib.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev libx11-dev libxxf86vm-dev"
install=""
source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
   local i
   cd "$_builddir"
   for i in $source; do
       case $i in
       *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
       esac
   done
}

build() {
   cd "$_builddir"
   make xcalib || return 1
}

package() {
   cd "$_builddir"
   install -Dm755 xcalib $pkgdir/usr/bin/xcalib

   for i in README *.icc *.icm; do
       install -Dm644 $i $pkgdir/usr/share/xcalib/$i
   done

}

md5sums="1fbcae44ad8d754512fdd1e5f1b3a7e7  xcalib-source-0.8.tar.gz"
sha256sums="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6  xcalib-source-0.8.tar.gz"
sha512sums="08d4cf579e566543ef7e5d233a6a49dd34a791a6aac31510d459d2300ec81828cf77ba2c495ee0c5e72e910c1986fc53c9ccd8f8455f097747508dd6adae8216  xcalib-source-0.8.tar.gz"