From fa5d734d14ceb8a9fdc66daabc2818459e92e352 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Fri, 4 Apr 2014 17:10:35 +0200 Subject: [PATCH] package RRD::Editor --- pkgbuild/perl-rrd-editor/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgbuild/perl-rrd-editor/PKGBUILD diff --git a/pkgbuild/perl-rrd-editor/PKGBUILD b/pkgbuild/perl-rrd-editor/PKGBUILD new file mode 100644 index 0000000..83eee36 --- /dev/null +++ b/pkgbuild/perl-rrd-editor/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Cedric Girard +_author=DOUGLEITH +_perlmod=RRD-Editor +pkgname=perl-rrd-editor +pkgver=0.17 +pkgrel=1 +pkgdesc="Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files" +arch=('any') +url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=(!emptydirs) +source=(http://cpan.perl.org/modules/by-authors/id/D/DO/$_author/$_perlmod-$pkgver.tar.gz) +md5sums=('0abe5d633c7609daec8dc287ef03ddef') + +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: