updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / amazonses / PKGBUILD
blob77df94c977c49f9d53f59d0d08a457a56a7f95b1
1 # Contributor: Nick Marakhovskiy <father@mnv.org.ua>
3 pkgname="amazonses"
4 _pkgname="AmazonSES"
5 pkgver="2011.03.03"
6 _pkgver=${pkgver//\./-}
7 pkgrel=3
8 pkgdesc="Amazon Simple Email Service Scripts."
9 arch=('any')
10 url="http://aws.amazon.com/developertools/8945574369528337"
11 license=('APACHE')
12 depends=('perl' 'perl-switch' 'perl-uri' 'perl-libwww' 'perl-crypt-ssleay' 'perl-xml-libxml')
13 makedepends=('unzip')
14 source=(http://aws-catalog-download-files.s3.amazonaws.com/${_pkgname}-${_pkgver}.zip)
15 noextract=('*')
16 md5sums=('cb8bf6ff2780c46f8f41c7fd172dbf44')
18 build() {
19     unzip ${_pkgname}-${_pkgver}.zip
21     mkdir -p ${pkgdir}/usr/bin || return 1
22     mkdir -p ${pkgdir}/usr/share/perl5/site_perl || return 1
23     mkdir -p ${pkgdir}/usr/share/doc/${_pkgname}-${_pkgver} || return 1
24     cp ${srcdir}/bin/ses-*.pl           ${pkgdir}/usr/bin || return 1
25     cp ${srcdir}/bin/SES.pm             ${pkgdir}/usr/share/perl5/site_perl || return 1
26     cp ${srcdir}/bin/LICENSE            ${pkgdir}/usr/share/doc/${_pkgname}-${_pkgver} || return 1
27     cp ${srcdir}/bin/NOTICE             ${pkgdir}/usr/share/doc/${_pkgname}-${_pkgver} || return 1
28     cp ${srcdir}/bin/README             ${pkgdir}/usr/share/doc/${_pkgname}-${_pkgver} || return 1
29     cp ${srcdir}/bin/ca-bundle.crt      ${pkgdir}/usr/share/doc/${_pkgname}-${_pkgver} || return 1