mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
1,006 B
Bash
37 lines
1,006 B
Bash
# $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}/
|
|
}
|