#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-color-manager pkgver=3.2.2 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/3.2/$pkgname-$pkgver.tar.xz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "copying-docs" "copying.lib" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url="http://projects.gnome.org/gnome-color-manager/index.html" options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') extradepends=('mash' 'shared-color-profiles' 'shared-color-targets') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-color-manager - Color profile manager for the GNOME desktop" "GNOME Color Manager is a session framework for the GNOME desktop" "environment that makes it easy to manage easy to manage, install and" "generate color profiles." ) build() { cd $startdir/src/$pkgname-$pkgver # fix a problem to detect SGMLS output PERL5LIB=/usr/lib/perl5/vendor_perl/; export PERL5LIB ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-compile \ --libexecdir=/usr/lib/gnome-color-manager --disable-scrollkeeper --disable-man-pages --disable-static 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 || return 1 make install DESTDIR=$startdir/pkg }