[arch-commits] Commit in perl-text-wrapi18n/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:14:21 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:14:21
Author: felixonmars
Revision: 659626
archrelease: copy trunk to community-staging-any
Added:
perl-text-wrapi18n/repos/community-staging-any/
perl-text-wrapi18n/repos/community-staging-any/PKGBUILD
(from rev 659624, perl-text-wrapi18n/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-text-wrapi18n/repos/community-staging-any/PKGBUILD (from rev 659624, perl-text-wrapi18n/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 17:14:21 UTC (rev 659626)
@@ -0,0 +1,32 @@
+# 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=9
+pkgdesc="Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words"
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl-text-charwidth')
+options=('!emptydirs')
+source=("https://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