summaryrefslogtreecommitdiff
path: root/extra/snarf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
committerroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
commit1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch)
tree24f65718bdb292fc62194464db8bee1348c48ee5 /extra/snarf
parentb31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff)
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'extra/snarf')
-rw-r--r--extra/snarf/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/snarf/PKGBUILD b/extra/snarf/PKGBUILD
index 591fd1a7c..40c5a2294 100644
--- a/extra/snarf/PKGBUILD
+++ b/extra/snarf/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD 77998 2010-04-19 08:10:26Z dgriffiths $
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 150394 2012-02-17 11:30:28Z allan $
+# Maintainer:
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+
pkgname=snarf
pkgver=7.0
-pkgrel=4
+pkgrel=5
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
-arch=(i686 x86_64)
+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}
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}