summaryrefslogtreecommitdiff
path: root/extra/a2ps/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/a2ps/PKGBUILD')
-rw-r--r--extra/a2ps/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index 8cbe130fb..94117b127 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD 197210 2013-10-24 03:42:33Z eric $
+# $Id: PKGBUILD 205465 2014-02-05 16:42:48Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=a2ps
pkgver=4.14
-pkgrel=5
+pkgrel=6
pkgdesc="An Any to PostScript filter"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/a2ps/"
license=('GPL3')
-depends=('ghostscript' 'psutils' 'imagemagick')
+depends=('psutils' 'imagemagick')
makedepends=('gperf')
backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
install=a2ps.install
source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
- a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
- a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
- a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch)
+ a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
+ a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
+ a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch
+ a2ps-4.13-security.patch)
sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
'SKIP'
'8783952d3410d8d59ed953e1db45e2ef1a0b8f65'
@@ -23,7 +24,8 @@ sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
'2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'
'6aed29c1399e79f3914b408059610f9e7c0fc38e'
'58fa90134f1027e3f05aeb08212cbcc10f420738'
- '81269db9dd29685b0ece2539070ced3f7a8472df')
+ '81269db9dd29685b0ece2539070ced3f7a8472df'
+ '93a4db17edfaa99e3498c7d952c560dab49dbe42')
prepare() {
cd ${pkgname}-${pkgver}
@@ -37,13 +39,14 @@ prepare() {
patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch"
patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch"
patch -p1 -i "${srcdir}/a2ps-texinfo5.patch"
+ patch -p1 -i "${srcdir}/a2ps-4.13-security.patch"
}
build() {
cd ${pkgname}-${pkgver}
libtoolize --force --copy
autoreconf --force --install -I m4
- ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
+ LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
--includedir=/usr/include --enable-shared --enable-nls
make
}