aboutsummaryrefslogtreecommitdiffstats
path: root/testing/colord-gtk/APKBUILD
blob: 7fbb52cdedf1d439288d96060cc6f69550d767ad (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
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=colord-gtk
pkgver=0.1.26
pkgrel=1
pkgdesc="GTK support library for colord"
url="https://www.freedesktop.org/software/colord/"
arch="all"
license="GPL3"
makedepends="intltool glib-dev gtk+3.0-dev colord-dev"
subpackages="$pkgname-dev"
source="https://www.freedesktop.org/software/colord/releases/colord-gtk-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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 \
		--disable-nls \
		--disable-schemas-compile \
		|| return 1
	make || return 1
}

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

md5sums="bb9d6f3c037152ad791003375aa6c16c  colord-gtk-0.1.26.tar.xz"
sha256sums="28d00b7f157ea3e2ea5315387b2660fde82faba16674861c50465e55d61a3e45  colord-gtk-0.1.26.tar.xz"
sha512sums="14f59110e2bc100c542323a68566102e9fb5ab44b679da21bf29101960dae38e646e926d884e14f1838a5991e6ebe15af72d5338723265868eadd5f026545c3d  colord-gtk-0.1.26.tar.xz"