diff options
Diffstat (limited to 'repo/po4a')
-rw-r--r-- | repo/po4a/po4a.xibuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/po4a/po4a.xibuild b/repo/po4a/po4a.xibuild new file mode 100644 index 0000000..e8c8b83 --- /dev/null +++ b/repo/po4a/po4a.xibuild @@ -0,0 +1,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 +} + |