diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-28 03:35:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-28 03:35:53 +0000 |
commit | def73efccccb818d214cb818e8b4de8385444a43 (patch) | |
tree | 89db423b051ce9f971b6f7386ada2a3573b6e3b7 /extra/snarf | |
parent | eb411a7c7cc929ada01019bd4c306116ce385693 (diff) |
Fri Mar 28 03:32:00 UTC 2014
Diffstat (limited to 'extra/snarf')
-rw-r--r-- | extra/snarf/PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/snarf/PKGBUILD b/extra/snarf/PKGBUILD index 40c5a2294..6ad155424 100644 --- a/extra/snarf/PKGBUILD +++ b/extra/snarf/PKGBUILD @@ -1,24 +1,25 @@ -# $Id: PKGBUILD 150394 2012-02-17 11:30:28Z allan $ +# $Id: PKGBUILD 208880 2014-03-27 20:25:38Z eric $ # Maintainer: -# Contributor: Judd Vinet <jvinet@zeroflux.org> pkgname=snarf pkgver=7.0 -pkgrel=5 +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 ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} + CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/} ./configure --prefix=/usr --mandir=/usr/share/man make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install || return 1 + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } |