Add 'perl-config-properties/' from commit '85ac2d8890d34b5d7bf5cb2b9039d6a76b4b7bf6'

git-subtree-dir: perl-config-properties
git-subtree-mainline: 8cb2e82540
git-subtree-split: 85ac2d8890
This commit is contained in:
Cedric Girard 2019-02-14 15:32:42 +01:00
commit be0c8c75bd
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Generated by mksrcinfo v8
# Tue Nov 24 10:16:34 UTC 2015
pkgbase = perl-config-properties
pkgdesc = A near implementation of the java.util.Properties API.
pkgver = 1.80
pkgrel = 1
url = https://metacpan.org/release/Config-Properties
arch = any
license = GPL
license = PerlArtistic
depends = perl>=5.10.0
options = !emptydirs
source = http://cpan.metacpan.org/authors/id/S/SA/SALVA/Config-Properties-1.80.tar.gz
md5sums = d3aa9eebbbb2c751d5b3441616d8eb56
pkgname = perl-config-properties

View File

@ -0,0 +1,36 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_author=SALVA
_perlmod=Config-Properties
pkgname=perl-config-properties
pkgver=1.80
pkgrel=1
pkgdesc="A near implementation of the java.util.Properties API."
arch=(any)
url="https://metacpan.org/release/$_perlmod"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
md5sums=('d3aa9eebbbb2c751d5b3441616d8eb56')
build() {
cd "$srcdir/Config-Properties-$pkgver"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/Config-Properties-$pkgver"
make test
}
package() {
cd "$srcdir/Config-Properties-$pkgver"
make install DESTDIR="$pkgdir/"
}
# vim:set ts=2 sw=2 et: