summaryrefslogtreecommitdiffstats
path: root/abs/core/m4/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
commitd09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2 (patch)
treeb7a478dc4760a22f1af08e0a66b0faf7407502e3 /abs/core/m4/PKGBUILD
parent21bdeae7e3fd523f93d55bcda29e77137a28622f (diff)
downloadlinhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.zip
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.gz
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.bz2
m4 1.4.16
Diffstat (limited to 'abs/core/m4/PKGBUILD')
-rw-r--r--abs/core/m4/PKGBUILD41
1 files changed, 27 insertions, 14 deletions
diff --git a/abs/core/m4/PKGBUILD b/abs/core/m4/PKGBUILD
index b0738c8..29f1c9c 100644
--- a/abs/core/m4/PKGBUILD
+++ b/abs/core/m4/PKGBUILD
@@ -1,24 +1,37 @@
-# $Id: PKGBUILD 17049 2008-10-24 17:18:43Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# $Id: PKGBUILD 142068 2011-11-04 23:36:00Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=m4
-pkgver=1.4.12
-pkgrel=1
-pkgdesc="m4 macro processor"
-arch=(i686 x86_64)
-license=('GPL')
+pkgver=1.4.16
+pkgrel=2
+pkgdesc="The GNU macro processor"
+arch=('i686' 'x86_64')
url="http://www.gnu.org/software/m4"
-install=m4.install
+license=('GPL3')
groups=('base-devel')
-depends=('glibc' 'bash' 'texinfo')
-source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz)
-md5sums=('0499a958a561781b125c740f18061ea8')
+depends=('glibc' 'bash')
+install=m4.install
+source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig}
+ m4-1.4.16-readlink-einval.patch)
+md5sums=('7548ec061a1ba993790159764f522d0e'
+ 'eebe5c94e74e7551e2e30c5844f1b653'
+ 'cea138fa9b568d06e46269611cec8dd0')
build() {
cd ${srcdir}/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/m4-1.4.16-readlink-einval.patch
+ sed -i '/gets is a security hole/d' lib/stdio.in.h
./configure --prefix=/usr
- make || return 1
- make prefix=${pkgdir}/usr install || return 1
+ make
+}
- rm -f ${pkgdir}/usr/share/info/dir
+check() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make prefix=${pkgdir}/usr install
}