summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e7ad4dc34f6276665c8e82b10028dd3650a87ca (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
32
33
34
35
36
37
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=AWS-Signature4
cpanauthor=LDS
pkgname=perl-aws-signature4
pkgver=1.02
pkgrel=1
pkgdesc="Perl AWS::Signature4 CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('Artistic-2.0')
options=('!emptydirs')
depends=(
   'perl'
   'perl-timedate'
   'perl-libwww'
   'perl-uri'
)
makedepends=('perl-module-build')
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('20bbc16cb3454fe5e8cf34fe61f1a91fe26c3f17e449ff665fcbbb92ab443ebd')

build() {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Build.PL
    perl Build
}

check() {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Build test
}

package () {
	 cd "${srcdir}/${cpaname}-${pkgver}"
	 perl Build install destdir="${pkgdir}"
}