# $Id: PKGBUILD 12053 2008-09-08 14:37:58Z andyrtr $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=libtool
pkgver=2.2.6a
pkgrel=1
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gnu.org/software/libtool"
install=libtool.install
groups=('base-devel')
depends=('sh' 'tar')
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz)
md5sums=('8ca1ea241cd27ff9832e045fe9afe4fd')
options=('!libtool')

build() {
  #cd ${startdir}/src/${pkgname}-${pkgver}
  cd ${startdir}/src/${pkgname}-2.2.6
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${startdir}/pkg install

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