diff options
author | root <root@rshg054.dnsready.net> | 2012-01-27 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-27 23:15:06 +0000 |
commit | 2493f16093b14a81e949bd6a1b89724cb931807d (patch) | |
tree | b93ed56dddfb9e067d0e29e363bc8e98286b9ac8 /staging/gnome-color-manager/PKGBUILD | |
parent | 3741146d50cb93e8985f8aac937e36d35ee76446 (diff) |
Fri Jan 27 23:15:06 UTC 2012
Diffstat (limited to 'staging/gnome-color-manager/PKGBUILD')
-rw-r--r-- | staging/gnome-color-manager/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/staging/gnome-color-manager/PKGBUILD b/staging/gnome-color-manager/PKGBUILD new file mode 100644 index 000000000..3fcef2e0e --- /dev/null +++ b/staging/gnome-color-manager/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 147672 2012-01-26 09:42:51Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + +pkgname=gnome-color-manager +pkgver=3.2.2 +pkgrel=2 +pkgdesc="Color profile manager for the GNOME desktop" +arch=(i686 x86_64) +url="http://projects.gnome.org/gnome-color-manager/" +license=(GPL2) +depends=('libcanberra' 'vte3' 'exiv2' 'hicolor-icon-theme' 'desktop-file-utils' 'clutter-gtk' 'mash' 'shared-color-profiles' 'shared-color-targets') +makedepends=('intltool' 'gtk-doc') +install=gnome-color-manager.install +options=('!libtool' '!emptydirs') +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('4898fe8c29761d8dc0859c4a3a1bf725d3b80d552caab1225202f6030a118d9a') + +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/gnome-color-manager \ + --disable-static --disable-man-pages + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} |