updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-object-declare / PKGBUILD
blob184a8bcdeec167b2a933b63b7089b09d1d8ffc89
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-object-declare
3 pkgver=0.22
4 pkgrel=1
5 pkgdesc="Perl module providing a declarative object constructor"
6 arch=("any")
7 url="http://search.cpan.org/dist/Object-Declare/"
8 license=("MIT")
9 depends=("perl>=5.6.0" "perl-sub-override")
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Object-Declare-0.22.tar.gz)
12 md5sums=("9607cd7b485bd7e01c3286f1dd8df187")
14 build() {
15   cd "$srcdir/Object-Declare-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 check() {
21   cd "$srcdir/Object-Declare-$pkgver"
22   make test
25 package() {
26   cd "$srcdir/Object-Declare-$pkgver"
27   make install DESTDIR="$pkgdir"