summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d12162f72fdec6cf771baec6b81873477546464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Arne BrĂ¼cher <archlinux [at] arne-bruecher [dot] de>
# Contributor: PolpOnline <aur at t0mmy dot anonaddy dot com>
# Contributor:  Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=akamai-bin
pkgver=1.5.6
pkgrel=3
pkgdesc='Manage and configure Akamai from the Command Line'
arch=('x86_64' 'pentium4')
url="https://github.com/akamai/cli"
license=('Apache')
provides=('akamai' 'akamai-cli')

source=(
  "https://raw.githubusercontent.com/akamai/cli/v$pkgver/LICENSE"
)
source_x86_64=(
  "$pkgname-$pkgver-$CARCH::https://github.com/akamai/cli/releases/download/v$pkgver/akamai-v$pkgver-linuxamd64"
)
source_pentium4=(
  "$pkgname-$pkgver-$CARCH::https://github.com/akamai/cli/releases/download/v$pkgver/akamai-v$pkgver-linux386"
)

b2sums=('21231bed1327f35b322032568be6b848d23595a294f5e055bc2506a57c122b3ebf3809ae9574b2f16b8856c744816658a06091f8d8e596a31586b3f632ae5d6b')
b2sums_x86_64=('5ee58c801458c36d63e65a7400d80a9325a77995f4998fef0af1f1c56d3de5a043c3629af3b3b030b5239ed011c770b5300cbbbf4168bc0f184248c98e1edbab')
b2sums_pentium4=('5ee58c801458c36d63e65a7400d80a9325a77995f4998fef0af1f1c56d3de5a043c3629af3b3b030b5239ed011c770b5300cbbbf4168bc0f184248c98e1edbab')

package() {
  install -Dm755 "$pkgname-$pkgver-$CARCH" "$pkgdir/usr/bin/akamai"
  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:set ts=2 sw=2 et: