archlinux-pkgbuilds/PKGBUILD

37 lines
846 B
Text
Raw Normal View History

2010-12-22 12:22:10 +01:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_author=SALVA
_perlmod=Config-Properties
2010-12-22 12:22:10 +01:00
pkgname=perl-config-properties
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)
url="https://metacpan.org/release/$_perlmod"
2010-12-22 12:22:10 +01:00
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')
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
2010-12-22 12:22:10 +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: