desktop/podofo/PKGBUILD

36 lines
824 B
Bash
Raw Normal View History

pkgname=podofo
2016-11-21 08:57:12 +08:00
pkgver=0.9.4
2011-03-16 20:44:09 +08:00
pkgrel=1
pkgdesc="PoDoFo is a library to work with the PDF file format."
2014-12-11 05:10:33 +08:00
arch=('x86_64')
url="http://podofo.sourceforge.net"
license=('GPL')
2016-11-21 08:57:12 +08:00
depends=('gcc-libs' 'fontconfig' 'libpng' 'libtiff' 'zlib')
makedepends=('cmake' 'lua')
2014-12-11 05:10:33 +08:00
optdepends=('cppunit' 'lua')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
2016-11-21 08:57:12 +08:00
md5sums=('929c9d2bd367fb6cb1f178cd4eb93dd3')
build() {
2011-03-16 20:44:09 +08:00
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
}
2011-03-16 20:44:09 +08:00
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR=$pkgdir install
}
package() {
cd ${pkgname}-${pkgver}/build
2014-12-11 05:10:33 +08:00
make DESTDIR=$pkgdir install
}