diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5969ef844eae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sebastian Ziebarth <mauspacker@posteo.de> +_author=DORMANDO +_perlmod=MogileFS-Client +pkgname=perl-mogilefs-client +pkgver=1.17 +pkgrel=1 +pkgdesc="Client library for the MogileFS distributed file system" +arch=(any) +_dist="MogileFS-Client" +url="http://www.mogilefs.org/" +license=('GPL' 'PerlArtistic') +depends=(perl-libwww perl-io-stringy) +options=('!emptydirs') +source=(http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz) +md5sums=('f077c567fc29358ea6308f22a6ad76e5') + +build() { + cd "$srcdir/$_perlmod-$pkgver" + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$_perlmod-$pkgver" + make install DESTDIR="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |