diff options
author | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
commit | a1922d0ec660fdc1892f2783515f781c090df0a9 (patch) | |
tree | 6d38a09231ff439c051261d41bfa066870e1fccb /community-staging/podofo | |
parent | eefecc8813e0c062a2058b33209cb30830f824b6 (diff) |
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'community-staging/podofo')
-rw-r--r-- | community-staging/podofo/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community-staging/podofo/PKGBUILD b/community-staging/podofo/PKGBUILD new file mode 100644 index 000000000..a71825b8a --- /dev/null +++ b/community-staging/podofo/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 62345 2012-01-19 12:22:37Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > +# Contributor: Preecha Patumchareonpol <yumyai at gmail.com> + +pkgname=podofo +pkgver=0.9.1 +pkgrel=3 +pkgdesc="A C++ library to work with the PDF file format" +arch=('i686' 'x86_64') +url="http://podofo.sourceforge.net" +license=('GPL') +depends=( 'gcc-libs' 'fontconfig' 'libpng' 'libtiff') +makedepends=('cmake') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('cec586ab69f92bc88d38b5d4b8eee5a0') + +build() { + cd ${pkgname}-${pkgver} + + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ + -DPODOFO_BUILD_SHARED=1 \ + -DPODOFO_HAVE_JPEG_LIB=1 \ + -DPODOFO_HAVE_PNG_LIB=1 \ + -DPODOFO_HAVE_TIFF_LIB=1 + make +} + +package() { + cd ${pkgname}-${pkgver}/build + make DESTDIR=$pkgdir install +} |