#Packager: George Vlahavas pkgname=htmldoc pkgver=1.9.15 pkgrel=1gv source=("https://github.com/michaelrsweet/htmldoc/archive/refs/tags/v${pkgver}.tar.gz") 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 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-ssl \ --without-gui \ --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 }