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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:13:43 UTC 2018


    Date: Friday, November 9, 2018 @ 23:13:42
  Author: felixonmars
Revision: 405199

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 405196, perl-text-reform/trunk/PKGBUILD)

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

Copied: perl-text-reform/repos/community-staging-any/PKGBUILD (from rev 405196, perl-text-reform/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:13:42 UTC (rev 405199)
@@ -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=5
+pkgdesc="Manual text wrapping and reformatting "
+arch=(any)
+url="http://search.cpan.org/dist/Text-Reform"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(http://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