# gcalctool, http://ftp.gnome.org/pub/gnome/sources/gcalctool/ name=gcalctool version=4.4.18 release=1 source=(http://ftp.gnome.org/pub/gnome/desktop/2.8/2.8.0/sources/$name-$version.tar.bz2) build() { touch scrollkeeper-config chmod +x scrollkeeper-config export SCROLLKEEPER_CONFIG="$PATH:$PWD" cd $name-$version sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \ -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure sed -i -e 's/= C .*/= C/' help/Makefile.in sed -i -e '/scrollkeeper-update/d' help/*/Makefile.in ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome \ --localstatedir=/var/opt/gnome \ --disable-schemas-install make test -f help/C/$name-C.omf.out || cp help/C/$name-C.omf{,.out} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=$PKG install }