diff options
Diffstat (limited to 'testing/colord/APKBUILD')
-rw-r--r-- | testing/colord/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/colord/APKBUILD b/testing/colord/APKBUILD new file mode 100644 index 0000000000..5da41f94d2 --- /dev/null +++ b/testing/colord/APKBUILD @@ -0,0 +1,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" |