[arch-commits] Commit in perl-text-charwidth/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:29:22 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:29:22
  Author: bluewind
Revision: 366819

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-text-charwidth/repos/community-staging-x86_64/
  perl-text-charwidth/repos/community-staging-x86_64/PKGBUILD
    (from rev 366818, perl-text-charwidth/trunk/PKGBUILD)

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

Copied: perl-text-charwidth/repos/community-staging-x86_64/PKGBUILD (from rev 366818, perl-text-charwidth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:29:22 UTC (rev 366819)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-text-charwidth
+pkgver=0.04
+pkgrel=16
+pkgdesc="Perl/CPAN Module Text::CharWidth"
+arch=("x86_64")
+url="http://search.cpan.org/dist/Text-CharWidth"
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz")
+sha256sums=('abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8')
+
+build() {
+  cd Text-CharWidth-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd Text-CharWidth-${pkgver}
+
+  make install DESTDIR="$pkgdir"
+
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list