package RRD::Editor

This commit is contained in:
Cedric Girard 2014-04-04 17:10:35 +02:00
parent 591dd757b7
commit fa5d734d14

View file

@ -0,0 +1,31 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_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: