updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ses-tools / PKGBUILD
blob39fa00fea47c641adab09a3152b53ca1604dce18
1 # Contributor: Nick Marakhovskiy <father@mnv.org.ua>
3 pkgname="ses-tools"
4 _pkgname="ses-tools"
5 pkgver="2011.10.31"
6 _pkgver=${pkgver//\./-}
7 pkgrel=3
8 pkgdesc="Amazon Simple Email Service Scripts."
9 arch=('any')
10 url="http://aws.amazon.com/developertools/Amazon-SES/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://d36cz9buwru1tt.cloudfront.net/catalog/attachments/${_pkgname}-${_pkgver}.zip)
15 noextract=('*')
16 md5sums=('df5329a84363b4bd2fbb239b147132f1')
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