# $Id: PKGBUILD 188955 2013-06-27 04:04:12Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru pkgname=colord pkgver=1.0.1 pkgrel=1 pkgdesc="System daemon for managing color devices" arch=(i686 x86_64) url="http://www.freedesktop.org/software/colord" license=(GPL2) depends=(lcms2 libgusb polkit shared-color-profiles sqlite udev dconf dbus) makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion) optdepends=('sane: UseSANE support [/etc/colord.conf]') options=('!libtool') install=colord.install backup=(etc/colord.conf) source=($url/releases/$pkgname-$pkgver.tar.xz) sha1sums=('d480eb23a3de67cab090c810c894cc68069a278d') build() { cd $pkgname-$pkgver # put udev files in /usr/lib sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib/$pkgname --disable-static \ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --enable-vala --enable-sane --disable-volume-search make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: