extra/qpdf to 4.2.0 with github package instead of sf

This commit is contained in:
Mike Brown 2013-07-10 13:41:11 -04:00
parent 18fb869847
commit 103473f935

37
extra/qpdf/PKGBUILD Normal file
View file

@ -0,0 +1,37 @@
# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Miguel Revilla <yo at miguelrevilla.com>
# Contributor: David Sotelo <dvsotelo at gmail.com>
# Contributor: Nuno Araujo <nuno.araujo@russo79.com>
pkgname=qpdf
pkgver=4.2.0
pkgrel=1
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
arch=('i686' 'x86_64')
url="http://qpdf.sourceforge.net/"
license=('custom:Artistic-2.0')
depends=('pcre' 'perl')
makedepends=('make')
options=('!libtool')
source=(https://github.com/qpdf/qpdf/archive/release-qpdf-4.2.0.tar.gz)
md5sums=('0d637fc3a0a8663c8c16cb49c679c699')
build() {
cd "${srcdir}/qpdf-release-${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static
make
}
check() {
cd "$srcdir/qpdf-release-$pkgname-$pkgver"
make -k check
}
package() {
cd "${srcdir}/qpdf-release-${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
mkdir -m755 -p ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 Artistic-2.0 ${pkgdir}/usr/share/licenses/${pkgname}/
}