core/wget/PKGBUILD

30 lines
765 B
Bash
Raw Normal View History

2010-04-04 22:20:41 +08:00
# $Id: PKGBUILD 75183 2010-04-01 01:40:17Z pierre $
2010-03-13 23:25:19 +08:00
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=wget
pkgver=1.12
2010-04-04 22:20:41 +08:00
pkgrel=2
2010-03-13 23:25:19 +08:00
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')
optdepends=('ca-certificates: HTTPS downloads')
backup=('etc/wgetrc')
install=wget.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('141461b9c04e454dc8933c9d1f2abf83')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
2010-04-04 22:20:41 +08:00
}
2010-03-22 04:33:27 +08:00
2010-04-04 22:20:41 +08:00
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
2010-03-13 23:25:19 +08:00
}