blob: 7a0885715dbea5f91f2cf4d8b00a4960e9d99cb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: John Lane <archlinux at jelmail dot com>
pkgname=aws-ssm-tools-git
pkgver=v1.6.0
pkgrel=1
pkgdesc="Tools for AWS Systems Manager: ec2-session ecs-session ec2-ssh ssm-tunnel ssm-session ssm-ssh"
url="https://github.com/mludvig/aws-ssm-tools"
depends=('python' )
makedepends=('python3' 'python-setuptools' 'git' )
license=('Apache-2.0')
arch=('any')
source=("git+https://github.com/mludvig/aws-ssm-tools.git#tag=$pkgver")
sha512sums=('SKIP')
pkgver() {
cd $srcdir/aws-ssm-tools
git describe --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $srcdir/aws-ssm-tools
python setup.py build
}
package() {
cd $srcdir/aws-ssm-tools
python setup.py install --root="$pkgdir" --optimize=1
}
|