diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:46:54 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:46:54 +0000 |
commit | 8d9f4432e7b59542a4592b313cc122a76af73736 (patch) | |
tree | 9cfb6a16bf392bb9a61249a8e747b5b77aebcf31 /testing | |
parent | 2fab9734c59429171591570466f74488aa289551 (diff) | |
download | aports-8d9f4432e7b59542a4592b313cc122a76af73736.tar.bz2 aports-8d9f4432e7b59542a4592b313cc122a76af73736.tar.xz |
testing/colord: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/colord/APKBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/testing/colord/APKBUILD b/testing/colord/APKBUILD new file mode 100644 index 000000000..7b0f3f0bb --- /dev/null +++ b/testing/colord/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=colord +pkgver=1.0.6 +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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/*/*.la +} + +md5sums="9bd8a1f117742c31d195a09092ca3066 colord-1.0.6.tar.xz" +sha256sums="a40bbceaa3d3b1d6fd2777b181bf641b4eb49ad249796823585136c146ad7e8e colord-1.0.6.tar.xz" +sha512sums="d4b188c4ffa12a4b4616e7e5fd9758c09c5743d7802a782f03f2e5767547fb6155a55c42a2344ae1d4aeab1cb3ccc81c3ad07e9b0cf087120b3564e9ebc28aa1 colord-1.0.6.tar.xz" |