summaryrefslogtreecommitdiff
path: root/extra/snarf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/snarf/PKGBUILD')
-rw-r--r--extra/snarf/PKGBUILD13
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
}