# $Id: PKGBUILD 112623 2014-06-04 13:51:28Z bluewind $ # Maintainer: Sergej Pupykin # Maintainer: Tom K pkgname=perl-fuse pkgver=0.16.1 pkgrel=2 pkgdesc="write filesystems in Perl using FUSE" arch=('i686' 'x86_64') 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 }