#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=rarian pkgver=0.8.1 pkgrel=1 zenver=70 arch=i486 source=("ftp://ftp.gnome.org/pub/gnome/sources/rarian/0.8/rarian-0.8.1.tar.bz2" \ "rarian-0.5.6-reg-parse-bugs.patch" "rarian-0.5.6-docs-from-desktop-entries-and-bundles.patch" \ "rarian-help-bundle.patch" "rarian-no-warning-X-lines.patch" "rarian-no-info.patch" "rarian-quiet.patch" \ "rarian-no-warning-localized-icon.patch") sourcetemplate="http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname" docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile') 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------------------------------------------------------| "rarian - A documentation metadata library" "Rarian is a documentation meta-data library, designed as a replacement" "for Scrollkeeper." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../rarian-0.5.6-reg-parse-bugs.patch patch -p0 < ../rarian-0.7.1-return.patch patch -p1 < ../rarian-0.5.6-docs-from-desktop-entries-and-bundles.patch patch -p1 < ../rarian-help-bundle.patch patch -p1 < ../rarian-no-warning-X-lines.patch patch -p1 < ../rarian-no-info.patch patch -p1 < ../rarian-quiet.patch patch -p1 < ../rarian-no-warning-localized-icon.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static --enable-installed --enable-scrollkeeper-compat --enable-omf-read --disable-skdb-update make || return 1 make install DESTDIR=$startdir/pkg }