aboutsummaryrefslogtreecommitdiffstats
path: root/testing/colord/APKBUILD
blob: 5da41f94d2412bb67301ba56ef029025f0082d64 (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
45
46
47
48
49
50
51
52
53
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=colord
pkgver=1.2.12
pkgrel=0
pkgdesc="http://www.freedesktop.org/software/colord/releases/colord-1.0.6.tar.xz"
url="http://www.freedesktop.org/software/colord"
arch="all"
license="GPL2"
depends=""
depends_dev="dconf-dev dbus-dev lcms2-dev gobject-introspection-dev libgusb-dev
	sqlite-dev polkit-dev"
makedepends="$depends_dev intltool bash-completion"
install=""
subpackages="$pkgname-dev"
source="http://www.freedesktop.org/software/colord/releases/colord-$pkgver.tar.xz"

_builddir="$srcdir"/colord-$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"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-systemd \
		--disable-systemd-login \
		--disable-argyllcms-sensor \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="80b106ba18a43c7eeaf2d9a2b8c5725b  colord-1.2.12.tar.xz"
sha256sums="d5241864c16a37f9e40d38d5009255456495a67f170ce0dc9250774442d68c3a  colord-1.2.12.tar.xz"
sha512sums="5ce8f4fd10b92ec0cb54a05017ab050753381663a43e40d959606bb5f71ddce5456a3d67f8ce0538a2c945136834c66615f3615fdfb3e1eaaf5f5ca7a9e9c4eb  colord-1.2.12.tar.xz"