#Packager: George Vlahavas pkgname=htmldoc pkgver=1.8.29 pkgrel=1gv source=("https://github.com/michaelrsweet/htmldoc/releases/download/release-$pkgver/htmldoc-$pkgver-source.tar.bz2" "htmldoc-destdir.patch") docs=("readme.txt" "changes.txt" "compile.txt" "copying.txt") url=https://michaelrsweet.github.io/?Z1 slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "htmldoc (HTML Conversion Software)" "htmldoc converts Hyper-Text Markup Language (\"HTML\") input files" "into indexed HTML, Adobe(r) PostScript(r), or Adobe(r) Portable" "Document Format (\"PDF\") files." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/htmldoc-destdir.patch || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-ssl \ --without-gui \ --disable-localjpeg \ --disable-localzlib \ --disable-localpng \ --disable-gnutls \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # these look better in /usr/doc mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/htmldoc/* $startdir/pkg/usr/doc/$pkgname-$pkgver/ rm -rf $startdir/pkg/usr/share/doc }