From def73efccccb818d214cb818e8b4de8385444a43 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 28 Mar 2014 03:35:53 +0000 Subject: Fri Mar 28 03:32:00 UTC 2014 --- extra/snarf/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'extra/snarf') 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 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 } -- cgit v1.2.3-54-g00ecf