diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/extra/po4a | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/po4a')
-rw-r--r-- | abs/extra/po4a/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/po4a/PKGBUILD b/abs/extra/po4a/PKGBUILD new file mode 100644 index 0000000..e63e519 --- /dev/null +++ b/abs/extra/po4a/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Contributor: Andre Klitzing <aklitzing () online () de> +# Contributor : Allan McRae <mcrae_allan@hotmail.com> +# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi> 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 +} |