#!/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 }