summaryrefslogtreecommitdiff
path: root/community/curlftpfs/PKGBUILD
blob: 722cd96595763ceea4dd1621c38199852df169fc (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 53536 2011-08-05 12:01:25Z cbrannon $
# 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=3
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 || return 1
  make || return 1
}

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