summaryrefslogtreecommitdiff
path: root/extra/colord/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/colord/PKGBUILD')
-rw-r--r--extra/colord/PKGBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD
index 42ef833a3..6284d818d 100644
--- a/extra/colord/PKGBUILD
+++ b/extra/colord/PKGBUILD
@@ -1,18 +1,20 @@
-# $Id: PKGBUILD 180120 2013-03-17 17:43:41Z heftig $
+# $Id: PKGBUILD 180252 2013-03-18 22:06:34Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
-pkgbase=colord
-pkgname=(colord colord-sane)
+pkgname=colord
pkgver=0.1.30
-pkgrel=1
+pkgrel=2
pkgdesc="System daemon for managing color devices"
arch=('i686' 'x86_64' 'mips64el')
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)
+optdepends=('sane: UseSANE support [/etc/colord.conf]')
options=('!libtool')
+install=colord.install
+backup=(etc/colord.conf)
source=($url/releases/$pkgname-$pkgver.tar.xz)
sha1sums=('54442a4736192aab65a7fa306142ae1cc30cda15')
@@ -26,29 +28,14 @@ build() {
--sysconfdir=/etc --libexecdir=/usr/lib/colord \
--localstatedir=/var --disable-static \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
- --enable-vala --enable-sane
+ --enable-vala --enable-sane --disable-volume-search
make
}
-package_colord() {
- install=colord.install
-
+package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install \
bashcompletiondir=/usr/share/bash-completion/completions
-
-# Split colord-sane
- cd ..
- mkdir -p sane/usr/lib/colord{,-plugins}
- mv {"$pkgdir","$srcdir/sane"}/usr/lib/colord/colord-sane
- mv {"$pkgdir","$srcdir/sane"}/usr/lib/colord-plugins/libcd_plugin_sane.so
-}
-
-package_colord-sane() {
- pkgdesc=("SANE plugin for colord")
- depends=(colord sane)
-
- mv sane/* "$pkgdir"
}
# vim:set ts=2 sw=2 et: