summaryrefslogtreecommitdiffstats
path: root/abs/extra/po4a
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-14 15:01:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-14 15:01:06 (GMT)
commit11d740908401b59854ab41a831264ca83968568c (patch)
treef30bffd10eb2d2cb269af919d78cca1793a66c89 /abs/extra/po4a
parent4c12dea888fdd090cf324e3f47cce2fb5954d38f (diff)
downloadlinhes_pkgbuild-11d740908401b59854ab41a831264ca83968568c.zip
linhes_pkgbuild-11d740908401b59854ab41a831264ca83968568c.tar.gz
linhes_pkgbuild-11d740908401b59854ab41a831264ca83968568c.tar.bz2
po4a: dep of gssproxy
Diffstat (limited to 'abs/extra/po4a')
-rw-r--r--abs/extra/po4a/PKGBUILD35
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
+}