#Packager: Ralvex pkgname=mutter realname= pkgver=3.10.2 majver=3.10 pkgrel=2rlvx #arch=noarch source=(http://ftp.gnome.org/pub/GNOME/sources/mutter/$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() { # 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 # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # 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------------------------------------------------------| "$pkgname" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-schemas-compile --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }