summaryrefslogtreecommitdiff
path: root/repo/perl-text-csv/perl-text-csv.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/perl-text-csv/perl-text-csv.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/perl-text-csv/perl-text-csv.xibuild')
-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
+}
+