package RRD::Editor

This commit is contained in:
Cedric Girard 2014-04-04 17:10:35 +02:00
commit 9628278094
2 changed files with 46 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = perl-rrd-editor
pkgdesc = Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files
pkgver = 0.17
pkgrel = 1
url = http://search.cpan.org/~DOUGLEITH/RRD-Editor-0.17/
arch = any
license = GPL
license = PerlArtistic
depends = perl>=5.10.0
options = !emptydirs
source = http://cpan.perl.org/modules/by-authors/id/D/DO/DOUGLEITH/RRD-Editor-0.17.tar.gz
md5sums = 0abe5d633c7609daec8dc287ef03ddef
pkgname = perl-rrd-editor

31
PKGBUILD Normal file
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: