summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Lahaye2018-12-13 11:23:10 +0100
committerChris Lahaye2018-12-13 11:23:18 +0100
commit9fda2c0ec8f6f8e81c2e1de2931dedb602fb284d (patch)
treed2d1a04284169ea8093c2e0bb276ac390c967917 /PKGBUILD
downloadaur-9fda2c0ec8f6f8e81c2e1de2931dedb602fb284d.tar.gz
Initial commit
Signed-off-by: Chris Lahaye <dev@chrislahaye.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d4f812c7bca
--- /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"
+}