summaryrefslogtreecommitdiff
path: root/extra/snarf/PKGBUILD
blob: 6ad155424c287133c53fcb55ebe82929debe87a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 208880 2014-03-27 20:25:38Z eric $
# Maintainer:

pkgname=snarf
pkgver=7.0
pkgrel=6
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
arch=('i686' 'x86_64')
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 ${pkgname}-${pkgver}
  CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}