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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 12:21:02 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:21:01
  Author: felixonmars
Revision: 366747

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-net-dropbox-api/repos/community-staging-x86_64/
  perl-net-dropbox-api/repos/community-staging-x86_64/PKGBUILD
    (from rev 366746, perl-net-dropbox-api/trunk/PKGBUILD)

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

Copied: perl-net-dropbox-api/repos/community-staging-x86_64/PKGBUILD (from rev 366746, perl-net-dropbox-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:21:01 UTC (rev 366747)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Kogan <michael dot kogan at gmx dot net>
+
+pkgname=perl-net-dropbox-api
+pkgver=1.9
+pkgrel=6
+pkgdesc="Net::Dropbox::API - Perl dropbox API interface"
+arch=('x86_64')
+url="http://search.cpan.org/~norbu/Net-Dropbox-API/lib/Net/Dropbox/API.pm"
+license=('GPL' 'PerlArtistic')
+depends=('perl-common-sense' 'perl-data-random' 'perl-http-message' 'perl-json' 'perl-libwww' 'perl-mouse' 'perl-net-oauth' 'perl-uri' 'perl-lwp-protocol-https')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+source=("http://search.cpan.org/CPAN/authors/id/N/NO/NORBU/Net-Dropbox-API-${pkgver}.tar.gz")
+sha1sums=('c1c5ba827492e171cb65124b65ece4da2442ea84')
+
+build() {
+  cd "$srcdir/Net-Dropbox-API-${pkgver}"
+  PERL_USE_UNSAFE_INC=1 \
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Net-Dropbox-API-${pkgver}"
+  make test
+}
+
+package() {
+  cd "$srcdir/Net-Dropbox-API-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list