[arch-commits] Commit in perl-term-extendedcolor/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 09:04:06 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:04:05
  Author: felixonmars
Revision: 469983

archrelease: copy trunk to community-staging-any

Added:
  perl-term-extendedcolor/repos/community-staging-any/
  perl-term-extendedcolor/repos/community-staging-any/PKGBUILD
    (from rev 469982, perl-term-extendedcolor/trunk/PKGBUILD)

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

Copied: perl-term-extendedcolor/repos/community-staging-any/PKGBUILD (from rev 469982, perl-term-extendedcolor/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:04:05 UTC (rev 469983)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Steven Allen <steven at stebalien.com>
+# Contributor: Magnus Woldrich <magnus at trapd00r.se>
+
+pkgname=perl-term-extendedcolor
+_cpanname=Term-ExtendedColor
+pkgver=0.224
+pkgrel=7
+pkgdesc="Like Term::ANSIColor, but for the extended colorset"
+url='http://search.cpan.org/dist/Term-ExtendedColor'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::http://search.cpan.org/CPAN/authors/id/W/WO/WOLDRICH/${_cpanname}-${pkgver}.tar.gz)
+sha512sums=('d4d5ccd3b1a8ffd4a15fa360bbcda0167fcce1fcc128da5fc23e05f891e3e1e403250c43d358ce16f6cab7034a67d76cc3bd8ed2926185f75208cd6d3b9d4547')
+
+build() {
+  cd ${_cpanname}-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${_cpanname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${_cpanname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list