PKGBUILDs/community/perl-fuse/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
726 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
pkgname=perl-fuse
pkgver=0.09
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://www.cpan.org/authors/id/D/DP/DPAVLIN/Fuse-$pkgver.tar.gz)
md5sums=('3965c5154567f4e4ac3d3b339eadf7f5')
build() {
cd $startdir/src/Fuse-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}