1 # Contributor: Nick Marakhovskiy <father@mnv.org.ua>
6 _pkgver=${pkgver//\./-}
8 pkgdesc="Amazon Simple Email Service Scripts."
10 url="http://aws.amazon.com/developertools/Amazon-SES/8945574369528337"
12 depends=('perl' 'perl-switch' 'perl-uri' 'perl-libwww' 'perl-crypt-ssleay' 'perl-xml-libxml')
14 source=(http://d36cz9buwru1tt.cloudfront.net/catalog/attachments/${_pkgname}-${_pkgver}.zip)
16 md5sums=('df5329a84363b4bd2fbb239b147132f1')
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