summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-text-roman/PKGBUILD35
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"
+}