1 # AUR Maintainer: Andreas B. Wagner <AndreasBWagner@gmail.com>
2 # AUR Maintainer: Caleb Cushing <xenoterracide@gmail.com>
3 # Arch Maintainer: Allan McRae <allan@archlinux.org>
4 # Contributor: Judd Vinet <jvinet@zeroflux.org>
9 pkgdesc="A network utility to retrieve files from the Web"
10 arch=('i686' 'x86_64')
11 url="http://www.gnu.org/software/wget/wget.html"
14 depends=('glibc' 'openssl')
18 optdepends=('ca-certificates: HTTPS downloads')
22 _bzrtrunk="http://bzr.savannah.gnu.org/r/wget/trunk/"
27 msg "Connecting to Bazaar server...."
29 if [ -d $_bzrmod ] ; then
30 cd ${_bzrmod} && bzr --no-plugins pull ${_bzrtrunk} -r ${pkgver}
31 msg "The local files are updated."
33 bzr --no-plugins branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
36 msg "Bazaar checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_bzrmod-build"
40 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
41 cd "$srcdir/$_bzrmod-build"
47 ./configure --prefix=/usr
49 make check || return 1
53 cd "$srcdir/$_bzrmod-build"
54 make DESTDIR="$pkgdir/" install