summaryrefslogtreecommitdiff
path: root/repo/perl-text-csv/perl-text-csv.xibuild
blob: 0acf09377e259f1ddb72646d45a7ec6544c438d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}