#Packager: George Vlahavas pkgname=mate-media pkgver=1.16.0 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv source=("http://pub.mate-desktop.org/releases/${_majorver}/mate-media-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew') doinst() { # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-media (MATE media utilities)" "The mate-media package provides a collection of media utilities for" "MATE Desktop environment." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --disable-schemas-compile \ --with-gtk=2.0 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }