summaryrefslogtreecommitdiff
path: root/gnome-unstable/colord/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
committerroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
commit483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (patch)
tree296f95ddbf8e5cd3ddfeea60e88a64b3593f9e1e /gnome-unstable/colord/PKGBUILD
parentfca7e8a735bd3ae5114a3cdf12efbce3b1d10224 (diff)
Wed Sep 26 00:54:06 PDT 2012
Diffstat (limited to 'gnome-unstable/colord/PKGBUILD')
-rw-r--r--gnome-unstable/colord/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnome-unstable/colord/PKGBUILD b/gnome-unstable/colord/PKGBUILD
new file mode 100644
index 000000000..d51085cf5
--- /dev/null
+++ b/gnome-unstable/colord/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 167094 2012-09-25 11:25:42Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=colord
+pkgver=0.1.23
+pkgrel=1
+pkgdesc="Color daemon"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/software/colord"
+license=('GPL2')
+depends=('lcms2' 'libgusb' 'polkit' 'sane' 'shared-color-profiles' 'sqlite' 'udev')
+makedepends=('intltool' 'gobject-introspection' 'vala' 'docbook2x')
+source=($url/releases/$pkgname-$pkgver.tar.xz)
+options=('!libtool')
+sha1sums=('08019c86f89b1675e4e155772cc555ed748f319e')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ # put udev files in /usr/lib
+ sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc --libexecdir=/usr/lib/colord \
+ --localstatedir=/var --disable-static \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install \
+ bashcompletiondir=/usr/share/bash-completion/completions
+}
+
+# vim:set ts=2 sw=2 et: