diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-28 21:01:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-28 21:01:03 +0000 |
commit | ef053bf466c82146ad1d0eef0877d5c0be84facf (patch) | |
tree | 545ffc1556735d5e6cd138ddc5a2184b568eb885 /main/perl-text-csv | |
parent | 3cc81b8a4cc8f628f67e6a76f6b92ad8cad9dea0 (diff) | |
download | aports-ef053bf466c82146ad1d0eef0877d5c0be84facf.tar.bz2 aports-ef053bf466c82146ad1d0eef0877d5c0be84facf.tar.xz |
main/perl-text-csv: new aport
Manipulate comma-separated value strings
http://search.cpan.org/dist/Text-CSV/
Diffstat (limited to 'main/perl-text-csv')
-rw-r--r-- | main/perl-text-csv/APKBUILD | 27 |
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" |