#Packager: Shador pkgname=help2man pkgver=1.38.4 pkgrel=1ab source=("http://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "install" "copying" "changelog" "authors" "news" "thanks") url='http://www.gnu.org/software/help2man/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - tool to automatically generate simple manual pages" "help2man is a tool for automatically generating simple manual pages" "from program output." "It is intended to provide an easy way for software authors to include" "a manual page in their distribution without having to maintain that" "document." "Given a program which produces resonably standard --help and --version" "outputs, help2man will attempt to re-arrange that output into" "something which resembles a manual page." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver/ \ --enable-nls \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 install -vd $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp -r debian $startdir/pkg/usr/doc/$pkgname-$pkgver/ set +e }