summaryrefslogtreecommitdiff
path: root/repo/perl-xml-sax/perl-xml-sax.xibuild
blob: 3643f9e91eaab563f73c43a89a4f2e9796bb6dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

NAME="perl-xml-sax"
DESC="Simple API for XML"

MAKEDEPS="perl"

PKG_VER=1.02
SOURCE="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-$PKG_VER.tar.gz"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

package() {
	PERLLIB=blib/lib make DESTDIR="$PKG_DEST" install
	find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete
}