# vim: set syn=sh: # Packager: Phill Watkins pkgname=guake pkgver=0.4.2 pkgrel=1pw #arch=noarch source=("http://guake.org/files/guake-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/extra/$pkgname docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README" "TODO") url=http://guake.org options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "guake (Dropdown terminal emulator)" "Guake is a dropdown terminal made for the GNOME desktop environment." "It's style of window is based on FPS games, and one of its goals is" "to be easy to reach." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --disable-schemas-install \ --disable-static \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \ --build=$arch-slackware-linux make -j $numjobs make install DESTDIR=$startdir/pkg # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi set +e }