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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:55:47 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:55:47
  Author: felixonmars
Revision: 658644

archrelease: copy trunk to community-staging-any

Added:
  perl-text-reform/repos/community-staging-any/
  perl-text-reform/repos/community-staging-any/PKGBUILD
    (from rev 658643, perl-text-reform/trunk/PKGBUILD)

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

Copied: perl-text-reform/repos/community-staging-any/PKGBUILD (from rev 658643, perl-text-reform/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:55:47 UTC (rev 658644)
@@ -0,0 +1,28 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Maintainer: Firmicus <francois.archlinux.org> 
+
+pkgname=perl-text-reform
+_realname=Text-Reform
+pkgver=1.20
+pkgrel=6
+pkgdesc="Manual text wrapping and reformatting "
+arch=(any)
+url="https://search.cpan.org/dist/Text-Reform"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/${_realname}-$pkgver.tar.gz) 
+md5sums=('f37f5834f3dc221eacd09bdfcfe40918')
+
+build() {
+  cd  "${srcdir}"/Text-Reform-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "${srcdir}"/Text-Reform-$pkgver
+  make install DESTDIR="${pkgdir}"
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}



More information about the arch-commits mailing list