[arch-commits] Commit in (4 files)

Thorsten Töpper ttoepper at nymeria.archlinux.org
Thu Feb 14 15:18:23 UTC 2013


    Date: Thursday, February 14, 2013 @ 16:18:23
  Author: ttoepper
Revision: 84242

Add perl-text-wrapi18n to [community]

Added:
  perl-text-wrapi18n/
  perl-text-wrapi18n/repos/
  perl-text-wrapi18n/trunk/
  perl-text-wrapi18n/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: perl-text-wrapi18n/trunk/PKGBUILD
===================================================================
--- perl-text-wrapi18n/trunk/PKGBUILD	                        (rev 0)
+++ perl-text-wrapi18n/trunk/PKGBUILD	2013-02-14 15:18:23 UTC (rev 84242)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 67415 2012-03-11 13:48:47Z cbrannon $
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=perl-text-wrapi18n
+_realname=Text-WrapI18N
+pkgver=0.06
+pkgrel=5
+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
+}




More information about the arch-commits mailing list