#Packager: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=mate-doc-utils pkgver=1.4.0 pkgrel=1gv source=("http://pub.mate-desktop.org/releases/1.4/mate-doc-utils-1.4.0.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-doc-utils (documentation utilities for the Mate project)" "mate-doc-utils is a collection of documentation utilities for the" "Mate project. Notably, it contains utilities for building" "documentation and all auxiliary files in your source tree." ) build() { cd $startdir/src/$pkgname-$pkgver ./autogen.sh --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-scrollkeeper --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg # remove unnecessary help files find $startdir/pkg/usr/share/mate/help/mate-doc-xslt/* -maxdepth 0 -type d ! -name C -exec rm -rf {} \; }