[arch-commits] Commit in perl-net-idn-encode/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:03:15 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:03:15
  Author: foutrelis
Revision: 366637

archrelease: copy trunk to community-staging-any

Added:
  perl-net-idn-encode/repos/community-staging-any/
  perl-net-idn-encode/repos/community-staging-any/PKGBUILD
    (from rev 366636, perl-net-idn-encode/trunk/PKGBUILD)

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

Copied: perl-net-idn-encode/repos/community-staging-any/PKGBUILD (from rev 366636, perl-net-idn-encode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 12:03:15 UTC (rev 366637)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+
+pkgname=perl-net-idn-encode
+_cpanname=Net-IDN-Encode
+pkgver=2.400
+pkgrel=4
+pkgdesc="Net::IDN::Encode provides an easy-to-use interface for encoding and decoding Internationalized Domain Names (IDNs)."
+arch=('any')
+url="http://search.cpan.org/~cfaerber/${_cpanname}/"
+license=('GPL')
+depends=('perl')
+checkdepends=('perl-test-nowarnings' 'perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('1ccf33ee6717185064b5d1bbbe8f4247')
+
+build() {
+  cd "$srcdir/${_cpanname}-${pkgver}"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/${_cpanname}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "$srcdir/${_cpanname}-${pkgver}"
+  make install DESTDIR="$pkgdir/"
+}
+
+# vim:set ts=2 sw=2 sts=2 et:



More information about the arch-commits mailing list