diff options
author | Anton Leontiev | 2013-08-23 16:58:29 +0400 |
---|---|---|
committer | Anton Leontiev | 2015-02-15 07:48:01 +0300 |
commit | 9cda73ff5c0b6a98f9c061ee3668688d5a679185 (patch) | |
tree | f4b203c3085ff5b136a5db6e4cf682d83c8182c9 /PKGBUILD | |
download | aur-9cda73ff5c0b6a98f9c061ee3668688d5a679185.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e1333dfa929 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# CPAN Name : Class::InsideOut +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname=perl-class-insideout +pkgver=1.13 +pkgrel=1 +pkgdesc='Perl module for safe and simple inside-out objects construction' +arch=('any') +url="http://search.cpan.org/dist/Class-InsideOut" +license=('Apache') +depends=("perl" "perl-class-isa") +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Class-InsideOut-1.13.tar.gz) +md5sums=('5b760b74a7c36cd7a5a1f3aa614318da') + +build() { + cd "$srcdir/Class-InsideOut-1.13" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/Class-InsideOut-1.13" + make test +} + +package() { + cd "$srcdir/Class-InsideOut-1.13" + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |