diff options
author | Chris Lahaye | 2018-12-13 11:23:10 +0100 |
---|---|---|
committer | Chris Lahaye | 2018-12-13 11:23:18 +0100 |
commit | 9fda2c0ec8f6f8e81c2e1de2931dedb602fb284d (patch) | |
tree | d2d1a04284169ea8093c2e0bb276ac390c967917 | |
download | aur-ecs-deploy.tar.gz |
Initial commit
Signed-off-by: Chris Lahaye <dev@chrislahaye.com>
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1b790a029f4a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ecs-deploy + pkgdesc = Simple shell script for initiating blue-green deployments on Amazon EC2 Container Service (ECS) + pkgver = 3.0.65.gda39f64 + pkgrel = 1 + 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 + +pkgname = ecs-deploy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4f812c7bca4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |