mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qpdf to 4.2.0 with github package instead of sf
This commit is contained in:
parent
18fb869847
commit
103473f935
1 changed files with 37 additions and 0 deletions
37
extra/qpdf/PKGBUILD
Normal file
37
extra/qpdf/PKGBUILD
Normal 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}/
|
||||
}
|
Loading…
Reference in a new issue