summaryrefslogtreecommitdiff
path: root/testing/m4/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/m4/PKGBUILD')
-rw-r--r--testing/m4/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/m4/PKGBUILD b/testing/m4/PKGBUILD
new file mode 100644
index 000000000..917fbdad3
--- /dev/null
+++ b/testing/m4/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 141937 2011-11-03 10:57:23Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=m4
+pkgver=1.4.16
+pkgrel=2
+pkgdesc="The GNU macro processor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/m4"
+license=('GPL3')
+groups=('base-devel')
+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
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make prefix=${pkgdir}/usr install
+}