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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:21:44 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:21:44
  Author: felixonmars
Revision: 330059

archrelease: copy trunk to staging-any

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

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

Copied: perl-uri/repos/staging-any/PKGBUILD (from rev 330058, perl-uri/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:21:44 UTC (rev 330059)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Manolis Tzanidakis
+# Contributor: Firmicus <francois.archlinux.org> 
+
+pkgname=perl-uri
+_realname=URI
+pkgver=1.74
+pkgrel=2
+pkgdesc="Uniform Resource Identifiers (absolute and relative)"
+arch=('any')
+url="http://search.cpan.org/dist/${_realname}/"
+license=('PerlArtistic')
+depends=('perl')
+checkdepends=('perl-test-needs')
+provides=('perl-uri-escape=3.30')
+options=('!emptydirs')
+source=("http://cpan.metacpan.org/authors/id/E/ET/ETHER/${_realname}-${pkgver}.tar.gz")
+sha512sums=('b537bd09c355989a2bb1919e2c228cf189e57f993add4246fa482d8ee5ec814266c6fb3229befce2f294456ee784a819d9a54013c43a2ad41b5d8914fabf046b')
+
+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