diff options
-rw-r--r-- | abs/core/perl-class-data-inheritable/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/perl-class-data-inheritable/PKGBUILD b/abs/core/perl-class-data-inheritable/PKGBUILD new file mode 100644 index 0000000..98bc4dc --- /dev/null +++ b/abs/core/perl-class-data-inheritable/PKGBUILD @@ -0,0 +1,27 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-class-data-inheritable +pkgver=0.08 +pkgrel=7 +pkgdesc="Inheritable, overridable class data " +arch=('x86_64') +url="http://search.cpan.org/dist/Class-Data-Inheritable" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz) +sha256sums=('9967feceea15227e442ec818723163eb6d73b8947e31f16ab806f6e2391af14a') + +build() { + cd Class-Data-Inheritable-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd Class-Data-Inheritable-${pkgver} + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} |