From 1beb14cd75f65b24c8176eb8a862ca3e756f509e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 7 May 2015 11:42:21 -0300 Subject: perl-text-roman: add new package to [pcr] --- pcr/perl-text-roman/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pcr/perl-text-roman/PKGBUILD (limited to 'pcr/perl-text-roman/PKGBUILD') diff --git a/pcr/perl-text-roman/PKGBUILD b/pcr/perl-text-roman/PKGBUILD new file mode 100644 index 000000000..5f986d761 --- /dev/null +++ b/pcr/perl-text-roman/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: asm + +pkgname=perl-text-roman +pkgver=3.5 +pkgrel=1 +pkgdesc="Allows conversion between Roman and Arabic algarisms" +_dist=Text-Roman +arch=('any') +url="http://search.cpan.org/dist/$_dist" +license=('GPL1') +options=('!emptydirs') +depends=('perl') +source=("http://search.cpan.org/CPAN/authors/id/S/SY/SYP/$_dist-$pkgver.tar.gz") +sha512sums=('597ca054094f58c0983c66ce2b22dbc4d69861b02495663987e6b66dc0044a0d7e18e51ef817ed3c76832d283c01c6f9f51e68af7cb6b186b27553b5a877bc33') + +build() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} + +check() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} -- cgit v1.2.3