[arch-commits] Commit in perl-uri/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 08:59:52 UTC 2017


    Date: Thursday, June 1, 2017 @ 08:59:52
  Author: foutrelis
Revision: 297109

archrelease: copy trunk to staging-any

Added:
  perl-uri/repos/staging-any/
  perl-uri/repos/staging-any/PKGBUILD
    (from rev 297108, perl-uri/trunk/PKGBUILD)

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

Copied: perl-uri/repos/staging-any/PKGBUILD (from rev 297108, perl-uri/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-01 08:59:52 UTC (rev 297109)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Manolis Tzanidakis
+# Contributor: Firmicus <francois.archlinux.org> 
+
+pkgname=perl-uri
+_realname=URI
+pkgver=1.71
+pkgrel=2
+pkgdesc="Uniform Resource Identifiers (absolute and relative)"
+arch=('any')
+url="http://search.cpan.org/dist/${_realname}/"
+license=('PerlArtistic')
+depends=('perl')
+provides=('perl-uri-escape=3.30')
+options=('!emptydirs')
+source=("http://cpan.metacpan.org/authors/id/E/ET/ETHER/${_realname}-${pkgver}.tar.gz")
+md5sums=('247c3da29a794f72730e01aa5a715daf')
+
+build() {
+  cd "${srcdir}/${_realname}-$pkgver"
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/${_realname}-$pkgver"
+  make install DESTDIR="${pkgdir}"
+}
+# vim: ts=2 sw=2 et ft=sh



More information about the arch-commits mailing list