core/po4a/PKGBUILD

28 lines
913 B
Bash
Raw Normal View History

2010-08-16 11:25:27 +08:00
# New Contributor: Andre Klitzing <aklitzing () online () de>
# Maintainer : Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Mikko Sepp<70>l<EFBFBD> <t-r-a-y@mbnet.fi> aka Neverth
pkgname=po4a
pkgver=0.40
pkgrel=1
pkgdesc="po4a - tools for helping translation of documentation"
arch=('i686' 'x86_64')
license=('GPL')
url="http://po4a.alioth.debian.org/"
depends=('perl' 'gettext')
makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-module-build' 'perl-locale-gettext' 'perl-term-readkey' 'perl-sgmls')
options=(!emptydirs)
source=(http://ftp.debian.org/debian/pool/main/p/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
build()
{
cd "$srcdir/$pkgname-$pkgver"
perl Build.PL || return 1
perl Build || return 1
chmod 777 po/pod/* || return 1
make || return 1
make install DESTDIR="$pkgdir/" prefix="/usr" || return 1
find ${pkgdir} -name .packlist -delete
}
md5sums=('847ed8e41279394d3b160e9bc1dd7970')