desktop/podofo/PKGBUILD
2014-12-10 21:10:33 +00:00

43 lines
977 B
Bash

#
# Chakra Apps for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor (x86_64): Giuseppe Cal <jiveaxe@gmail.com>
pkgname=podofo
pkgver=0.9.3
pkgrel=1
pkgdesc="PoDoFo is a library to work with the PDF file format."
arch=('x86_64')
url="http://podofo.sourceforge.net"
license=('GPL')
depends=( 'gcc-libs' 'fontconfig' 'libpng' 'libtiff' 'zlib')
makedepends=('cmake')
optdepends=('cppunit' 'lua')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('268ca111826757ca7e3f5c4be3547e7a')
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
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR=$pkgdir install
}