# $Id$ # Maintainer: Thorsten Töpper # Contributor: Francois Boulogne # Contributor: Andre Klitzing # Contributor : Allan McRae # Contributor: Mikko Seppälä aka Neverth _dlid=4229 pkgname=po4a pkgver=0.52 pkgrel=1 pkgdesc="tools for helping translation of documentation" arch=('any') license=('GPL') url="http://po4a.alioth.debian.org/" depends=('perl' 'gettext') makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-locale-gettext' 'perl-term-readkey' 'perl-sgmls' 'perl-module-build' 'perl-unicode-linebreak') options=('!emptydirs') source=(https://alioth.debian.org/frs/download.php/file/${_dlid}/${pkgname}-${pkgver}.tar.gz) sha256sums=('60a243da3ae372f019cd71483d46c898897f8692958403dfc2c8001c713e6fcf') build() { cd ${pkgname}-${pkgver} perl Build.PL installdirs=vendor create_packlist=0 # The script expects a UTF-8 locale LC_ALL=en_US.UTF-8 perl Build } package() { cd ${pkgname}-${pkgver} perl Build destdir="${pkgdir}" install # remove perllocal.pod and .packlist find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete }