updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / aws / PKGBUILD
blob9477df384a0ffae280668c5ac0365d3860238565
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=aws
4 pkgver=1.72
5 pkgrel=1
6 pkgdesc="A simple Perl interface to Amazon's EC2/S3/SQS/SDB/ELB services"
7 arch=('i686' 'x86_64')
8 url="http://timkay.com/aws/"
9 license=('custom')
10 depends=('curl' 'perl')
11 install=aws.install
12 source=(aws{rc,secret})
13 md5sums=('e4565afdfee920238d32e7e03717e26e'
14          '827ac9d7adc8aa6183199b2f64b1a88d')
16 build() {
17   curl https://github.com/timkay/aws/raw/master/aws -o aws-$pkgver
18   sed -n '3,17 s/#[ ]*//p' aws-$pkgver > COPYING
19   install -Dm755 aws-$pkgver "$pkgdir/usr/bin/aws"
20   install -Dm644 awsrc "$pkgdir/usr/share/aws/awsrc"
21   install -Dm644 awssecret "$pkgdir/usr/share/aws/awssecret"
22   install -Dm644 COPYING "$pkgdir/usr/share/licenses/aws/COPYING"
24   cd "$pkgdir/usr/bin"
25   ./aws --link=short &> /dev/null