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

DEPS=(perl expat)

PKG_VER=2.46
SOURCE=https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$PKG_VER.tar.gz
DESC="A perl interface for the expat XML parser"

build () {
    perl Makefile.PL
    make
}

check () {
    make test
}

package () {
    make DESTDIR=$PKG_DEST install 
}