[arch-commits] Commit in (9 files)

Jan Steffens heftig at archlinux.org
Sat Feb 26 15:12:42 EST 2011


    Date: Saturday, February 26, 2011 @ 15:12:41
  Author: heftig
Revision: 111439

Add gnome-color-manager and its dependency lcms2

Added:
  gnome-color-manager/
  gnome-color-manager/repos/
  gnome-color-manager/trunk/
  gnome-color-manager/trunk/PKGBUILD
  gnome-color-manager/trunk/gnome-color-manager.install
  lcms2/
  lcms2/repos/
  lcms2/trunk/
  lcms2/trunk/PKGBUILD

-------------------------------------------------------+
 gnome-color-manager/trunk/PKGBUILD                    |   31 ++++++++++++++++
 gnome-color-manager/trunk/gnome-color-manager.install |   19 +++++++++
 lcms2/trunk/PKGBUILD                                  |   28 ++++++++++++++
 3 files changed, 78 insertions(+)

Added: gnome-color-manager/trunk/PKGBUILD
===================================================================
--- gnome-color-manager/trunk/PKGBUILD	                        (rev 0)
+++ gnome-color-manager/trunk/PKGBUILD	2011-02-26 20:12:41 UTC (rev 111439)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+pkgname=gnome-color-manager
+pkgver=2.91.90
+pkgrel=1
+pkgdesc="Color profile manager for the GNOME desktop"
+arch=(i686 x86_64)
+url="http://projects.gnome.org/gnome-color-manager/"
+license=(GPL2)
+depends=(lcms2 gnome-settings-daemon gnome-control-center vte3 sane exiv2
+         hicolor-icon-theme)
+makedepends=(intltool gtk-doc)
+install=gnome-color-manager.install
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('a3d95c5d2e97e483b2b03506bc337bfcffaf8e77a00aaa41334edd3f01c02f34')
+
+build(){
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # man pages need docbook-sgml, which we don't have
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib --disable-static --disable-man-pages
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}


Property changes on: gnome-color-manager/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: gnome-color-manager/trunk/gnome-color-manager.install
===================================================================
--- gnome-color-manager/trunk/gnome-color-manager.install	                        (rev 0)
+++ gnome-color-manager/trunk/gnome-color-manager.install	2011-02-26 20:12:41 UTC (rev 111439)
@@ -0,0 +1,19 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.90.0) < 0 )); then
+    usr/sbin/gconfpkg --uninstall gnome-color-manager
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Added: lcms2/trunk/PKGBUILD
===================================================================
--- lcms2/trunk/PKGBUILD	                        (rev 0)
+++ lcms2/trunk/PKGBUILD	2011-02-26 20:12:41 UTC (rev 111439)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
+pkgname=lcms2
+pkgver=2.1
+pkgrel=1
+pkgdesc="Small-footprint color management engine, version 2"
+arch=(i686 x86_64)
+license=('custom')
+depends=('libtiff>=3.9.4')
+url="http://www.littlecms.com"
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/lcms/$pkgname-$pkgver.tar.gz)
+md5sums=('08036edb115ad74456dfa20b1998b5f4')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -Dm 644 COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


Property changes on: lcms2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id



More information about the arch-commits mailing list