PKGBUILDs/core/wget/PKGBUILD

22 lines
561 B
Bash

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=wget
pkgver=1.11.4
pkgrel=2
pkgdesc="A network utility to retrieve files from the Web"
arch=(arm)
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}/wget-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${pkgdir} install
}