summaryrefslogtreecommitdiff
path: root/community/wput/PKGBUILD
blob: cd05022edd4779a0adcd5d2b1751e8d4d6f6f8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $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=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/"
depends=('gnutls>=2.4.1')
license=('GPL')
source=("http://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
md5sums=('a14c4c13d91d04d6119bdc977e8a8bdf')

build() {
  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
}