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

Levente Polyak anthraxx at archlinux.org
Sat Oct 24 00:35:57 UTC 2015


    Date: Saturday, October 24, 2015 @ 02:35:57
  Author: anthraxx
Revision: 144847

archrelease: copy trunk to community-any

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

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

Copied: perl-term-extendedcolor/repos/community-any/PKGBUILD (from rev 144846, perl-term-extendedcolor/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-10-24 00:35:57 UTC (rev 144847)
@@ -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=3
+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