blob: 2253a0a736cb8b812d0b0dbd2d66daa07f6df773 (
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
33
34
35
36
37
38
|
# Maintainer: drzee <info@drzee.net>
pkgname=codedeploy-agent-bin
pkgver=1.7.1_110
pkgrel=1
pkgdesc="AWS CodeDeploy is a deployment service that enables developers to automate the deployment of applications to instances and to update the applications as required. See: https://aws.amazon.com/documentation/codedeploy/ for details"
arch=('x86_64')
url="https://github.com/aws/aws-codedeploy-agent"
license=('APACHE')
groups=()
depends=('ruby')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=(https://aws-codedeploy-eu-west-1.s3-eu-west-1.amazonaws.com/releases/${pkgname%-bin}_${pkgver//_/-}_all.deb)
md5sums=('ca819b889c0146b7484aa7598c977cfc')
noextract=()
prepare() {
cd "$srcdir"
tar -xf data.tar.gz
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir"/opt/
cp -R "${srcdir}"/opt/codedeploy-agent "${pkgdir}/opt/"
install -Dm744 \
"$srcdir"/etc/codedeploy-agent/conf/codedeployagent.yml \
"$pkgdir"/etc/codedeploy-agent/conf/codedeployagent.yml
install -Dm644 \
"$srcdir"/etc/init.d/codedeploy-agent.service \
"$pkgdir"/usr/lib/systemd/system/codedeploy-agent.service
}
|