summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1b790a029f4
--- /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 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"
+}