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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:57:10 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:57:10
  Author: foutrelis
Revision: 470298

archrelease: copy trunk to community-staging-any

Added:
  perl-net-oauth/repos/community-staging-any/
  perl-net-oauth/repos/community-staging-any/PKGBUILD
    (from rev 470297, perl-net-oauth/trunk/PKGBUILD)

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

Copied: perl-net-oauth/repos/community-staging-any/PKGBUILD (from rev 470297, perl-net-oauth/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:57:10 UTC (rev 470298)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# CPAN Name  : Net-OAuth
+# Contributor: Anonymous
+# Generator  : CPANPLUS::Dist::Arch 1.28
+
+pkgname=perl-net-oauth
+pkgver=0.28
+pkgrel=9
+pkgdesc="An implementation of the OAuth protocol"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-class-accessor' 'perl-class-data-inheritable' 'perl-digest-hmac' 'perl-digest-sha1' 'perl-uri' 'perl-libwww' 'perl-file-slurp-tiny')
+makedepends=('perl-module-build')
+checkdepends=('perl-test-warn')
+url='http://search.cpan.org/dist/Net-OAuth'
+source=("http://search.cpan.org/CPAN/authors/id/K/KG/KGRENNAN/Net-OAuth-$pkgver.tar.gz")
+sha512sums=('b38c3784221bdf56b5b55021cc7e74cf6c5ce47b6743b6fefae9e148ff61d3c1e068aa5829dfed13ffd070e1286ab0d743e2f7b7c900f5fd8cf78f788cff70c4')
+
+build() {
+  cd "$srcdir/Net-OAuth-$pkgver"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Net-OAuth-$pkgver"
+  PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "$srcdir/Net-OAuth-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
+}



More information about the arch-commits mailing list