summaryrefslogtreecommitdiff
path: root/repo/perl-xml-sax-base/perl-xml-sax-base.xibuild
blob: f0a234322a550a7a0046e2dff38b4ce58b8cc67d (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
#!/bin/sh

NAME="perl-xml-sax-base"
DESC="Base class SAX Drivers and Filters"

MAKEDEPS=""

PKG_VER=1.09
SOURCE="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$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 perllocal.pod -o -name .packlist \) -delete
}