diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-07 11:42:21 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-07 11:46:40 -0300 |
commit | 1beb14cd75f65b24c8176eb8a862ca3e756f509e (patch) | |
tree | ed0a177fabc17da1280708ebd8bb79592a7bcad2 /pcr/perl-text-roman/PKGBUILD | |
parent | 1cd134c39ee75f6d79a2ebba432de88102123f32 (diff) | |
download | abslibre-1beb14cd75f65b24c8176eb8a862ca3e756f509e.tar.gz abslibre-1beb14cd75f65b24c8176eb8a862ca3e756f509e.tar.bz2 abslibre-1beb14cd75f65b24c8176eb8a862ca3e756f509e.zip |
perl-text-roman: add new package to [pcr]
Diffstat (limited to 'pcr/perl-text-roman/PKGBUILD')
-rw-r--r-- | pcr/perl-text-roman/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <asm@member.fsf.org> + +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" +} |