From e90d0b65eea997e6bf384a787d41975270d382c9 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 29 May 2018 23:22:53 +0000 Subject: perl-yaml-tiny: initial inclusion --- abs/core/perl_modules/perl-yaml-tiny/PKGBUILD | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 abs/core/perl_modules/perl-yaml-tiny/PKGBUILD diff --git a/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD b/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD new file mode 100644 index 0000000..3759296 --- /dev/null +++ b/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: AUR Perl +# Generator : CPANPLUS::Dist::Arch 1.15 + +pkgname=perl-yaml-tiny +pkgver=1.73 +pkgrel=1 +pkgdesc="Read/Write YAML files with as little code as possible" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +checkdepends=('perl-cpan-meta>=2.150001' 'perl-pod-coverage') +url='http://search.cpan.org/dist/YAML-Tiny' +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-$pkgver.tar.gz") +sha512sums=('5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987') + +build() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +check() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + make test +} + +package() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + make install DESTDIR="${pkgdir}" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# vim:set ts=2 sw=2 et: -- cgit v0.12