blob: e8c8b838abd9f589a7f9b3da92d4cb9ac41f48ca (
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="po4a"
DESC="Tools for helping translation of documentation"
MAKEDEPS=" diffutils docbook-xsl perl-module-build"
PKG_VER=0.68
SOURCE="https://github.com/mquinson/po4a/archive/v$PKG_VER.tar.gz"
build() {
perl Build.PL installdirs=vendor create_packlist=0
perl Build
}
check() {
perl Build test
}
package() {
perl Build destdir=$PKG_DEST install
# remove perllocal.pod and .packlist
find $PKG_DEST \( -name .packlist -o -name perllocal.pod \) -delete
}
|