# $Id: PKGBUILD 100908 2013-11-13 09:49:25Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Tom K 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 }