pkgname: podofo pkgver: '1.1.2' pkgrel: 1 pkgdesc: C++ library to work with the PDF file format url: 'https://podofo.sourceforge.net' arch: x86_64 license: - GPL2 depends: [] makedepends: - cmake - xorg-fontconfig - freetype - libidn - libpng - libtiff source: - 'https://github.com/podofo/podofo/archive/refs/tags/${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} mkdir -p "test/TokenizerTest/objects" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 ..\ -DPODOFO_HAVE_JPEG_LIB=1 \ -DPODOFO_HAVE_PNG_LIB=1 \ -DPODOFO_HAVE_TIFF_LIB=1 make make DESTDIR=${PKGDIR} install install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING package: | true