blob: 84d1d0e2ddabd826040e64cce16b9f6ccb55d4cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id$
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Michael Kogan <michael dot kogan at gmx dot net>
pkgname=perl-net-dropbox-api
pkgver=1.9
pkgrel=3
pkgdesc="Net::Dropbox::API - Perl dropbox API interface"
arch=('i686' '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 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
}
|