#Packager: George Vlahavas pkgname=mate-menus pkgver=1.16.0 _mainver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv source=("http://pub.mate-desktop.org/releases/${_mainver}/mate-menus-${pkgver}.tar.xz" "mate-applications.menu" "mate-settings.menu") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-menus (MATE Menu Layout)" "MATE Menus is an implementation of the draft Desktop Menu" "Specification from freedesktop.org. Also included is the MATE menu" "layout configuration files, .directory files and assorted menu" "related utility programs." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --disable-static make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # rearrange the menus, so there is only one menu with system # tools cp $startdir/src/mate-{applications,settings}.menu $startdir/pkg/etc/xdg/menus/ }