updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ftplib / PKGBUILD
blob644300b71758edcb48571dc4c2c945d1de52e144
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: andreas_baumann <abaumann@yahoo.com>
3 # Contributor: Nathan O <ndowens04 at gmail dot com>
5 _v=3.1
6 pkgname=ftplib
7 pkgver=${_v}_1
8 pkgrel=2
9 pkgdesc="A set of routines that implement the FTP protocol."
10 url="http://nbpfaus.net/~pfau/$pkgname/"
11 arch=('i686' 'x86_64')
12 license=("LGPL")
13 source=("$url$pkgname-${_v}-src.tar.gz"
14         "$url$pkgname-${pkgver/_/-}.patch")
15 md5sums=('c6af758ccbf806b28f022a587a41d9c5'
16          '8af14825ee91abfc1441a66ad009e68b')
18 build() {
19   cd "$srcdir/$pkgname-$_v/linux"
21   patch -p0 -i "$srcdir/$pkgname-${pkgver/_/-}.patch"
23   # strip local
24   sed -i "s@/usr/local@${pkgdir}/usr@g" Makefile
26   make
29 package() {
30   cd "$srcdir/$pkgname-$_v/linux"
32   mkdir -p $pkgdir/usr/{bin,lib,include}
33   make install