aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-text-csv/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/perl-text-csv/APKBUILD b/main/perl-text-csv/APKBUILD
new file mode 100644
index 0000000000..1fa5e635c3
--- /dev/null
+++ b/main/perl-text-csv/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-text-csv
+pkgver=1.20
+pkgrel=0
+pkgdesc="Manipulate comma-separated value strings"
+url="http://search.cpan.org/dist/Text-CSV/"
+arch="noarch"
+license="PerlArtistic GPL"
+depends="perl"
+makedepends="perl-dev"
+source="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/Text-CSV-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Text-CSV-$pkgver
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
+
+md5sums="8f20f60258ea0c8d5bbd029d03fe78b7 Text-CSV-1.20.tar.gz"