#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gedit pkgver=3.2.6 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gedit/3.2/gedit-$pkgver.tar.xz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') 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 # glib2 compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gEdit is a Gtk+-2 text editor." "* Complete integration with the GNOME Environment, including GnomeMDI" "* Global Search and Replace" "* Dynamically loaded fonts" "* Splitscreen Mode" "* Printing support" "* Configurable Plugins system" "* Unlimited Undo/Redo" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --enable-introspection=yes --disable-static make || return 1 make install DESTDIR=$startdir/pkg }