[arch-commits] Commit in perl-text-charwidth/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 12:10:21 UTC 2019
Date: Saturday, May 25, 2019 @ 12:10:21
Author: foutrelis
Revision: 470646
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 470645, perl-text-charwidth/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-text-charwidth/repos/community-staging-x86_64/PKGBUILD (from rev 470645, perl-text-charwidth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-25 12:10:21 UTC (rev 470646)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-text-charwidth
+pkgver=0.04
+pkgrel=17
+pkgdesc="Perl/CPAN Module Text::CharWidth"
+arch=("x86_64")
+url="https://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