summaryrefslogtreecommitdiff
path: root/extra/snarf/PKGBUILD
blob: 5e1e7a8fcb1b041f5d9e0a7182c43d84c3de1310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 77998 2010-04-19 08:10:26Z dgriffiths $
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=snarf
pkgver=7.0
pkgrel=4
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
arch=(i686 x86_64 'mips64el')
url="http://www.xach.com/snarf/"
license=('GPL')
depends=('glibc')
source=(http://www.xach.com/snarf/download/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('7470d8457bc0d347b5cd8668c9e735c4')

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