#Packager: Ralvex pkgname=gedit realname= pkgver=3.8.3 majver=3.8 pkgrel=2rlvx #arch=noarch source=(http://ftp.gnome.org/pub/GNOME/sources/gedit/$majver/$pkgname-$pkgver.tar.xz) #sourcetemplate=http://people.salixos.org/yournick/$pkgname/$pkgver/ #docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") #url= #dotnew=() #CFLAGS= #CXXFLAGS= options=('noautodotnew') doinst() { # 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" "The Gedit package contains a lightweight UTF-8 text editor for the" "GNOME Desktop. " ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-schemas-compile --disable-spell --disable-updater --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }