Date: Wednesday, August 30, 2017 @ 06:43:49 Author: bisson Revision: 254732
add PKGBUILD for svn trunk Added: podofo/trunk/PKGBUILD.svn --------------+ PKGBUILD.svn | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Added: PKGBUILD.svn =================================================================== --- PKGBUILD.svn (rev 0) +++ PKGBUILD.svn 2017-08-30 06:43:49 UTC (rev 254732) @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 213059 2017-02-18 11:53:46Z arojas $ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Preecha Patumchareonpol <yumyai at gmail.com> + +pkgname=podofo +pkgver=0.9.5.svn.20170807 +pkgrel=1 +pkgdesc='Library to work with the PDF file format' +url='http://podofo.sourceforge.net' +arch=('i686' 'x86_64') +license=('GPL') +makedepends=('cmake' 'subversion') +depends=('lua' 'openssl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo') +source=('svn+https://svn.code.sf.net/p/podofo/code/podofo/trunk') +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}/trunk" + install -d build +} + +build() { + cd "${srcdir}/trunk/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ + -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ + -DPODOFO_BUILD_SHARED=1 \ + -DPODOFO_HAVE_JPEG_LIB=1 \ + -DPODOFO_HAVE_PNG_LIB=1 \ + -DPODOFO_HAVE_TIFF_LIB=1 + make +} + +package() { + cd "${srcdir}/trunk/build" + make DESTDIR=$pkgdir install +}