Add 'perl-rrd-editor/' from commit 'a626d774ecb73c5a3bd8357a0520b07613c71e4d'
git-subtree-dir: perl-rrd-editor git-subtree-mainline:ec61a5b357
git-subtree-split:a626d774ec
This commit is contained in:
commit
f52a71450f
2 changed files with 46 additions and 0 deletions
15
perl-rrd-editor/.SRCINFO
Normal file
15
perl-rrd-editor/.SRCINFO
Normal 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.18
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://metacpan.org/release/RRD-Editor
|
||||||
|
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.18.tar.gz
|
||||||
|
md5sums = 48c7cf8567f72316bde7df655d9fd473
|
||||||
|
|
||||||
|
pkgname = perl-rrd-editor
|
||||||
|
|
31
perl-rrd-editor/PKGBUILD
Normal file
31
perl-rrd-editor/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
_author=DOUGLEITH
|
||||||
|
_perlmod=RRD-Editor
|
||||||
|
pkgname=perl-rrd-editor
|
||||||
|
pkgver=0.18
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files"
|
||||||
|
arch=('any')
|
||||||
|
url="https://metacpan.org/release/$_perlmod"
|
||||||
|
license=('GPL' 'PerlArtistic')
|
||||||
|
depends=('perl>=5.10.0')
|
||||||
|
options=(!emptydirs)
|
||||||
|
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||||
|
md5sums=('48c7cf8567f72316bde7df655d9fd473')
|
||||||
|
|
||||||
|
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:
|
Loading…
Reference in a new issue