diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..79cc9c657f02 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ecs-tool + pkgdesc = ecs-tool can run commands on an ECS cluster and deploy services onto it + pkgver = 1.6.1 + pkgrel = 1 + url = https://github.com/springload/ecs-tool + arch = x86_64 + license = Apache License 2.0 + makedepends = go + source = ecs-tool-1.6.1.tar.gz::https://github.com/springload/ecs-tool/archive/1.6.1.tar.gz + md5sums = 60070286786263553a9757f2f61676eb + +pkgname = ecs-tool + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..00b95be1c7ba --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/ +src/ +terraform/ +*.zst +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..afa36703d22b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Eugene Dementyev <e@dementyev.me> +pkgname=ecs-tool +pkgver=1.6.1 +pkgrel=1 +epoch= +pkgdesc="ecs-tool can run commands on an ECS cluster and deploy services onto it" +arch=(x86_64) +url="https://github.com/springload/ecs-tool" +license=('Apache License 2.0') +groups=() +depends=() +makedepends=(go) +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("${pkgname}-$pkgver.tar.gz::https://github.com/springload/ecs-tool/archive/$pkgver.tar.gz") +noextract=() +md5sums=(60070286786263553a9757f2f61676eb) +validpgpkeys=() + +build() { + cd "${pkgname}-${pkgver}" + go build . +} + + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 ecs-tool "$pkgdir/usr/bin/ecs-tool" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |