summaryrefslogtreecommitdiff
path: root/repo/perl-text-csv
diff options
context:
space:
mode:
Diffstat (limited to 'repo/perl-text-csv')
-rw-r--r--repo/perl-text-csv/perl-text-csv.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/perl-text-csv/perl-text-csv.xibuild b/repo/perl-text-csv/perl-text-csv.xibuild
new file mode 100644
index 0000000..0acf093
--- /dev/null
+++ b/repo/perl-text-csv/perl-text-csv.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="perl-text-csv"
+DESC="Manipulate comma-separated value strings"
+
+MAKEDEPS=""
+
+PKG_VER=2.01
+SOURCE="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Text-CSV-$PKG_VER.tar.gz"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" -name '.packlist' -delete
+ find "$PKG_DEST" -name '*.pod' -delete
+}
+