# $Id: PKGBUILD 129474 2011-06-28 04:34:20Z allan $ # Maintainer: Allan McRae # Contributor: judd # NOTE: requires rebuilt with each new gcc version pkgname=libtool pkgver=2.4 pkgrel=4 pkgrel=3 # holdver pkgdesc="A generic library support script" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libtool" license=('GPL') depends=('sh' 'tar' 'gcc=4.6.1') groups=('base-devel') options=('!libtool') install=libtool.install source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz) md5sums=('4e6144439d95d7332dc50ace6dd24c55') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make } check() { cd ${srcdir}/${pkgname}-${pkgver} make check } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }