### this file is sourced not run
PKGVER=8.0.2
PKGBUILD=1
PKGARCH=i686

# source: post BLFS 8.2 2018-06-08
TARBALL=qpdf-$PKGVER.tar.gz
MD5SUM=74a9c61be4e899f92c1d8598cec06108
SRC_URL=https://github.com/qpdf/qpdf/releases/download/release-qpdf-$PKGVER/$TARBALL
BUNDLE=

SLACKREQ='libpcre32 libxslt32'
SLACKDESC="qpdf32: qpdf32 $PKGVER (PDF transformation library)  
qpdf32:  
qpdf32: The Qpdf package contains command-line programs and library that do 
qpdf32: structural, content-preserving transformations on PDF files.  
qpdf32: 
qpdf32: This contains 32-bit version of the library.
qpdf32: 
qpdf32: 
qpdf32: 
qpdf32: 
qpdf32:
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static --docdir=/usr/share/doc/qpdf-$PKGVER"
	pkg_build_autoconf && pkg_build_slackdesc
}


