#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=pessulus pkgver=2.30.0 zenver=66 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/pessulus/2.30/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pessulus (GNOME Administrative Lockdown Configuration Editor)" "Pessulus is a lockdown editor for GNOME, written in python. Pessulus" "enables administrators to set mandatory settings in GConf affecting" "the configuration of the GNOME Desktop. The users can not change these" "settings. Use of pessulus can be useful on computers that are open" "to use by everyone, e.g. in an internet cafe or a classroom, or even" "a home computer." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static \ make || return 1 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 }