summaryrefslogtreecommitdiff
path: root/community/perl-fuse/PKGBUILD
blob: 0718db88ae6c8c67b6fac40be57a827c69f2f866 (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
31
32
33
34
# $Id: PKGBUILD 100908 2013-11-13 09:49:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>

pkgname=perl-fuse
pkgver=0.16.1
pkgrel=1
pkgdesc="write filesystems in Perl using FUSE"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Fuse"
depends=('perl' 'fuse')
license=('GPL')
source=(http://search.cpan.org/CPAN/authors/id/D/DP/DPATES/Fuse-$pkgver.tar.gz
	build-fix.patch)
md5sums=('29534329808d8cf42fc78ca26c6fa698'
         '16d985400e620286efdf4610d78cb5d6')

prepare() {
  cd  $srcdir/Fuse-$pkgver
#  patch -p1 <$srcdir/build-fix.patch
}

build() {
  cd  $srcdir/Fuse-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  $srcdir/Fuse-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}