summaryrefslogtreecommitdiff
path: root/community/wput
diff options
context:
space:
mode:
Diffstat (limited to 'community/wput')
-rw-r--r--community/wput/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/community/wput/PKGBUILD b/community/wput/PKGBUILD
index dfcfdba7d..cd05022ed 100644
--- a/community/wput/PKGBUILD
+++ b/community/wput/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 65393 2012-02-21 02:33:30Z spupykin $
+# $Id: PKGBUILD 114452 2014-07-01 16:09:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: damir <damir@archlinux.org>
# Contributor: Aurelien Gateau <aurelien.gateau@free.fr>
pkgname=wput
pkgver=0.6.2
-pkgrel=2
+pkgrel=3
pkgdesc="A command line tool to upload files to FTP site, the opposite to wget"
arch=('i686' 'x86_64')
url="http://wput.sourceforge.net/"
@@ -15,12 +15,15 @@ source=("http://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
md5sums=('a14c4c13d91d04d6119bdc977e8a8bdf')
build() {
- cd $srcdir/${pkgname}-${pkgver}
-# sed -i -e 's/gnutls.h,/gnutls.h/' configure
- ./configure --prefix=/usr
- make
- install -m755 -d ${pkgdir}/usr/bin
- install -m755 -d ${pkgdir}/usr/share/man/man1
- make prefix=${pkgdir}/usr install
- ln -sf wput $pkgdir/usr/bin/wdel
+ cd $srcdir/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+ install -m755 -d ${pkgdir}/usr/bin
+ install -m755 -d ${pkgdir}/usr/share/man/man1
+ make prefix=${pkgdir}/usr install
+ ln -sf wput $pkgdir/usr/bin/wdel
}