summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4f812c7bca4c0f2468dcd983fa5046930b3d47a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Chris Lahaye <dev@chrislahaye.com>
pkgname=ecs-deploy
pkgver=3.0.65.gda39f64
pkgrel=1
pkgdesc="Simple shell script for initiating blue-green deployments on Amazon EC2 Container Service (ECS)"
url="https://github.com/silinternational/ecs-deploy/"
arch=('any')
license=('custom')
depends=('bash')
source=("ecs-deploy::git+https://github.com/silinternational/ecs-deploy#branch=develop")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --always | sed 's|-|.|g'
}

package() {
  cd "$pkgname"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm755 $pkgname "${pkgdir}/usr/bin/$pkgname"
}