2010-12-22 12:22:10 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
2015-11-24 11:16:44 +01:00
|
|
|
_author=SALVA
|
|
|
|
_perlmod=Config-Properties
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgname=perl-config-properties
|
2015-11-24 11:16:44 +01:00
|
|
|
pkgver=1.80
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgrel=1
|
2011-07-20 18:01:05 +02:00
|
|
|
pkgdesc="A near implementation of the java.util.Properties API."
|
2010-12-22 12:22:10 +01:00
|
|
|
arch=(any)
|
2015-11-24 11:16:44 +01:00
|
|
|
url="https://metacpan.org/release/$_perlmod"
|
2010-12-22 12:22:10 +01:00
|
|
|
license=('GPL' 'PerlArtistic')
|
|
|
|
depends=('perl>=5.10.0')
|
|
|
|
options=(!emptydirs)
|
2021-11-15 11:31:11 +01:00
|
|
|
source=(https://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
2015-11-24 11:16:44 +01:00
|
|
|
md5sums=('d3aa9eebbbb2c751d5b3441616d8eb56')
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/Config-Properties-$pkgver"
|
|
|
|
|
|
|
|
# install module in vendor directories.
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
2013-03-25 13:56:34 +01:00
|
|
|
|
2010-12-22 12:22:10 +01:00
|
|
|
}
|
|
|
|
|
2015-11-24 11:16:44 +01:00
|
|
|
check() {
|
|
|
|
cd "$srcdir/Config-Properties-$pkgver"
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
2010-12-22 12:22:10 +01:00
|
|
|
package() {
|
|
|
|
cd "$srcdir/Config-Properties-$pkgver"
|
|
|
|
make install DESTDIR="$pkgdir/"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|