summaryrefslogtreecommitdiff
path: root/community/curlftpfs/PKGBUILD
blob: aea11bda91665abcce8060e0741c8c1984fcb781 (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
30
# $Id: PKGBUILD 97936 2013-10-01 16:49:40Z bpiotrowski $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Philip Nilsson <leffeman@gmail.com>

pkgname=curlftpfs
pkgver=0.9.2
pkgrel=5
pkgdesc="A filesystem for acessing FTP hosts based on FUSE and libcurl."
url="http://curlftpfs.sourceforge.net/"
license=('GPL')
depends=('curl>=7.15.4' 'fuse' 'glib2')
makedepends=('pkgconfig>=0.9.0')
arch=('i686' 'x86_64' 'mips64el')
source=(http://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz
        ioerror.patch)
md5sums=('b452123f755114cd4461d56c648d9f12'
         '7a8db686293463ba3148c7032871c883')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 < "$srcdir/ioerror.patch"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install 
}