blob: dc810eadfd538c0218a78180779b56a81213e862 (
plain)
1 # Description: Utility that does structural, content-preserving transformations on PDF files
2 # URL: http://qpdf.sourceforge.net/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: cmake libjpeg-turbo openssl zlib
5 # Optional: gnutls
6
7 name=qpdf
8 version=11.2.0
9 release=1
10 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz)
11
12 build() {
13 cmake -S $name-$version -B build \
14 -D CMAKE_INSTALL_PREFIX=/usr \
15 -D CMAKE_INSTALL_LIBDIR=/usr/lib \
16 -D CMAKE_BUILD_TYPE=Release \
17 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS"
18 cmake --build build -j ${JOBS:-1}
19 DESTDIR=$PKG cmake --install build
20 rm -r $PKG/usr/share/doc
21 }
|