ArchLinux/pkgbuild/perl-config-properties/PKGBUILD

29 lines
734 B
Bash

# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=perl-config-properties
pkgver=1.73
pkgrel=1
pkgdesc="A near implementation of the java.util.Properties API."
arch=(any)
url="http://search.cpan.org/~salva/Config-Properties/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Config-Properties-$pkgver.tar.gz)
md5sums=('93287453dc21296cc5dfdaccecafec00')
build() {
cd "$srcdir/Config-Properties-$pkgver"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/Config-Properties-$pkgver"
make install DESTDIR="$pkgdir/"
}
# vim:set ts=2 sw=2 et: