2013-07-10 17:56:04 +00:00
|
|
|
##temporary ALARM PKGBUILD DELETE ME LATER!!!##
|
2013-07-10 17:41:11 +00:00
|
|
|
# $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}"
|
2013-07-10 17:53:04 +00:00
|
|
|
./autogen.sh
|
2013-07-10 17:41:11 +00:00
|
|
|
./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}/
|
|
|
|
}
|