summaryrefslogtreecommitdiff
path: root/community/wput/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wput/PKGBUILD')
-rw-r--r--community/wput/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/wput/PKGBUILD b/community/wput/PKGBUILD
new file mode 100644
index 000000000..e6fbbfd61
--- /dev/null
+++ b/community/wput/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 43594 2011-03-27 20:43:25Z 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=1
+pkgdesc="A command line tool to upload files to FTP site, the opposite to wget"
+arch=('i686' 'x86_64')
+url="http://wput.sourceforge.net/"
+depends=('gnutls>=2.4.1')
+license=('GPL')
+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
+}