summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-13 23:11:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-13 23:11:18 (GMT)
commit931106eb2b86e5898d6726271dc670778c50e660 (patch)
treedb77ede3f3afb1b69921cbd1dc497f8ca17fd68c /abs
parentc8188f1e65a1b8b310b1e6410d8416a8ea2b2813 (diff)
downloadlinhes_pkgbuild-931106eb2b86e5898d6726271dc670778c50e660.zip
linhes_pkgbuild-931106eb2b86e5898d6726271dc670778c50e660.tar.gz
linhes_pkgbuild-931106eb2b86e5898d6726271dc670778c50e660.tar.bz2
perl-text-wrapi18n: dep of po4a
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD b/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD
new file mode 100644
index 0000000..462434e
--- /dev/null
+++ b/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 67415 2012-03-11 13:48:47Z cbrannon $
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+
+pkgname=perl-text-wrapi18n
+_realname=Text-WrapI18N
+pkgver=0.06
+pkgrel=7
+pkgdesc="Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words"
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-text-charwidth')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/${_realname}-${pkgver}.tar.gz")
+md5sums=('0799c16a00926e6c18d400c2e2861d5f')
+
+build() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+
+package() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ # remove perllocal.pod, .packlist, and empty dirs:
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name 'perllocal.pod' -delete
+}