#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-subtitles pkgver=1.0 zenver=64 pkgrel=1 arch=i686 source=("http://switch.dl.sourceforge.net/project/gnome-subtitles/gnome-subtitles/1.0/gnome-subtitles-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://gnome-subtitles.sourceforge.net/ options=('noautodotnew') extradepends=("mono" "enchant" "gtk-sharp2" "gtkspell" "") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Gnome Subtitles is a subtitle editor for the GNOME desktop." "It supports the most common text-based subtitle formats and allows for" "subtitle editing, translation and synchronization.") build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --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 }