summaryrefslogtreecommitdiffstats
path: root/abs/core/m4/PKGBUILD
blob: b0738c8394fa712123dfbcdbe627dbe3a4a41439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 17049 2008-10-24 17:18:43Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=m4
pkgver=1.4.12
pkgrel=1
pkgdesc="m4 macro processor"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnu.org/software/m4"
install=m4.install
groups=('base-devel')
depends=('glibc' 'bash' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz)
md5sums=('0499a958a561781b125c740f18061ea8')

build() {
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=${pkgdir}/usr install || return 1

  rm -f ${pkgdir}/usr/share/info/dir
}