[arch-commits] Commit in podofo/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Feb 3 18:24:46 UTC 2017
Date: Friday, February 3, 2017 @ 18:24:46
Author: arojas
Revision: 209776
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
podofo/repos/community-staging-i686/
podofo/repos/community-staging-i686/PKGBUILD
(from rev 209773, podofo/trunk/PKGBUILD)
podofo/repos/community-staging-x86_64/
podofo/repos/community-staging-x86_64/PKGBUILD
(from rev 209774, podofo/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: podofo/repos/community-staging-i686/PKGBUILD (from rev 209773, podofo/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-03 18:24:46 UTC (rev 209776)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Preecha Patumchareonpol <yumyai at gmail.com>
+
+pkgname=podofo
+pkgver=0.9.5
+pkgrel=1
+pkgdesc="A C++ library to work with the PDF file format"
+arch=('i686' 'x86_64')
+url="http://podofo.sourceforge.net"
+license=('GPL')
+depends=('lua' 'openssl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo')
+makedepends=('cmake')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('4751a6cf41250bea550a73ff960b7228')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ mkdir build
+ cd 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 ${pkgname}-${pkgver}/build
+ make DESTDIR=$pkgdir install
+}
Copied: podofo/repos/community-staging-x86_64/PKGBUILD (from rev 209774, podofo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-02-03 18:24:46 UTC (rev 209776)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Preecha Patumchareonpol <yumyai at gmail.com>
+
+pkgname=podofo
+pkgver=0.9.5
+pkgrel=1
+pkgdesc="A C++ library to work with the PDF file format"
+arch=('i686' 'x86_64')
+url="http://podofo.sourceforge.net"
+license=('GPL')
+depends=('lua' 'openssl' 'fontconfig' 'libtiff' 'libidn' 'libjpeg-turbo')
+makedepends=('cmake')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('4751a6cf41250bea550a73ff960b7228')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ mkdir build
+ cd 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 ${pkgname}-${pkgver}/build
+ make DESTDIR=$pkgdir install
+}
More information about the arch-commits
mailing list