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/8945574369528337"
12 depends=('perl' 'perl-switch' 'perl-uri' 'perl-libwww' 'perl-crypt-ssleay' 'perl-xml-libxml')
14 source=(http://aws-catalog-download-files.s3.amazonaws.com/${_pkgname}-${_pkgver}.zip)
16 md5sums=('cb8bf6ff2780c46f8f41c7fd172dbf44')
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