blob: 1c453a5c1d9e07a171d5e3ec87ea4221bea15495 (
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-namespacesupport"
DESC="Generic namespace helpers (ported from SAX2)"
MAKEDEPS=""
PKG_VER=1.12
SOURCE="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$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
}
|