[arch-commits] Commit in colord/repos (6 files)

Jan de Groot jgc at nymeria.archlinux.org
Mon Apr 21 15:31:25 UTC 2014


    Date: Monday, April 21, 2014 @ 17:31:25
  Author: jgc
Revision: 211588

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  colord/repos/staging-i686/
  colord/repos/staging-i686/PKGBUILD
    (from rev 211587, colord/trunk/PKGBUILD)
  colord/repos/staging-i686/colord.install
    (from rev 211587, colord/trunk/colord.install)
  colord/repos/staging-x86_64/
  colord/repos/staging-x86_64/PKGBUILD
    (from rev 211587, colord/trunk/PKGBUILD)
  colord/repos/staging-x86_64/colord.install
    (from rev 211587, colord/trunk/colord.install)

-------------------------------+
 staging-i686/PKGBUILD         |   35 +++++++++++++++++++++++++++++++++++
 staging-i686/colord.install   |   17 +++++++++++++++++
 staging-x86_64/PKGBUILD       |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/colord.install |   17 +++++++++++++++++
 4 files changed, 104 insertions(+)

Copied: colord/repos/staging-i686/PKGBUILD (from rev 211587, colord/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-04-21 15:31:25 UTC (rev 211588)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.2.0
+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 sqlite systemd dconf dbus)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion)
+optdepends=('sane: scanner support')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('a96619dcca24aea1527054f0117211cf7ac30dec'
+          'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --enable-vala --enable-sane --with-daemon-user=colord
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: colord/repos/staging-i686/colord.install (from rev 211587, colord/trunk/colord.install)
===================================================================
--- staging-i686/colord.install	                        (rev 0)
+++ staging-i686/colord.install	2014-04-21 15:31:25 UTC (rev 211588)
@@ -0,0 +1,17 @@
+post_install() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    getent group colord >/dev/null || groupadd -g 124 colord
+    getent passwd colord >/dev/null || useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+    chown colord:colord /var/lib/colord
+    chown colord:colord /var/lib/colord/*.db 2>/dev/null || return 0
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    getent passwd colord >/dev/null && userdel colord
+    getent group colord >/dev/null && groupdel colord
+}

Copied: colord/repos/staging-x86_64/PKGBUILD (from rev 211587, colord/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-04-21 15:31:25 UTC (rev 211588)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.2.0
+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 sqlite systemd dconf dbus)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion)
+optdepends=('sane: scanner support')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('a96619dcca24aea1527054f0117211cf7ac30dec'
+          'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --enable-vala --enable-sane --with-daemon-user=colord
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: colord/repos/staging-x86_64/colord.install (from rev 211587, colord/trunk/colord.install)
===================================================================
--- staging-x86_64/colord.install	                        (rev 0)
+++ staging-x86_64/colord.install	2014-04-21 15:31:25 UTC (rev 211588)
@@ -0,0 +1,17 @@
+post_install() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    getent group colord >/dev/null || groupadd -g 124 colord
+    getent passwd colord >/dev/null || useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+    chown colord:colord /var/lib/colord
+    chown colord:colord /var/lib/colord/*.db 2>/dev/null || return 0
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    getent passwd colord >/dev/null && userdel colord
+    getent group colord >/dev/null && groupdel colord
+}




More information about the arch-commits mailing list