# $Id: PKGBUILD 4756 2008-07-09 20:00:54Z andyrtr $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=wget
pkgver=1.11.4
pkgrel=10
pkgdesc="A network utility to retrieve files from the Web"
arch=(i686 x86_64)
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
groups=('base')
depends=('glibc' 'openssl')
backup=('etc/wgetrc')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('69e8a7296c0e12c53bd9ffd786462e87')

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