# $Id: PKGBUILD 7674 2008-08-03 16:04:12Z jgc $ # Maintainer: damir # Contributor: Aurelien Gateau pkgname=wput pkgver=0.6.1 pkgrel=2 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=('92b41efed4db8eb4f3443c23bf7ceecf') build() { cd ${startdir}/src/${pkgname}-${pkgver} sed -i -e 's/gnutls.h,/gnutls.h/' configure || return 1 ./configure --prefix=/usr || return 1 make || return 1 install -m755 -d ${pkgdir}/usr/bin install -m755 -d ${pkgdir}/usr/share/man/man1 make prefix=${pkgdir}/usr install || return 1 }