core/autoconf/PKGBUILD

36 lines
920 B
Bash

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=autoconf
pkgver=2.68
pkgrel=4
pkgdesc="A GNU tool for automatically configuring source code"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
url="http://www.gnu.org/software/autoconf"
groups=('base-devel')
depends=('awk' 'm4' 'diffutils' 'bash')
install=autoconf.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
md5sums=('723677f7727542d273112e7feb870a7a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
# license exception
install -Dm644 COPYING.EXCEPTION \
$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
# conflict with bintuils
rm -f ${pkgdir}/usr/share/info/standards.info
}