diff options
author | Damien Guihal | 2018-10-03 23:03:23 +0200 |
---|---|---|
committer | Damien Guihal | 2018-10-03 23:03:23 +0200 |
commit | 7ef78592f8285fb8db6cb79d9c8fa85045eb33c9 (patch) | |
tree | 000915d51ed05315954f5f8157030c58a294f5e0 | |
download | aur-7ef78592f8285fb8db6cb79d9c8fa85045eb33c9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ab2a8658c3d0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-awscli-plugin-endpoint + pkgdesc = This awscli plugin provides service endpoint configure **per service** on profile. + pkgver = 0.3 + pkgrel = 1 + url = https://github.com/wbingli/awscli-plugin-endpoint + arch = any + license = Apache License 2.0 + makedepends = python-setuptools + makedepends = python2-setuptools + depends = aws-cli>=1.11.0 + options = !emptydirs + source = https://github.com/wbinglee/awscli-plugin-endpoint/tarball/0.3 + sha256sums = 0e9a2c9509b0a2bfafefcb543fa684974433de18099995d7f26284d2b1b0c61f + +pkgname = python-awscli-plugin-endpoint + pkgdesc = This awscli plugin provides service endpoint configure **per service** on profile. (python3 version) + +pkgname = python2-awscli-plugin-endpoint + pkgdesc = This awscli plugin provides service endpoint configure **per service** on profile. (python2 version) + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ffc2a4129279 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Damien Guihal <dguihal@gmail.com> + +pkgbase=python-awscli-plugin-endpoint +pkgname=('python-awscli-plugin-endpoint' 'python2-awscli-plugin-endpoint') +pkgname=python-awscli-plugin-endpoint +pkgver=0.3 +pkgrel=1 +pkgdesc="This awscli plugin provides service endpoint configure **per service** on profile." +arch=(any) +url="https://github.com/wbingli/awscli-plugin-endpoint" +license=('Apache License 2.0') +makedepends=('python-setuptools' 'python2-setuptools') +depends=('aws-cli>=1.11.0') +options=(!emptydirs) +source=("https://github.com/wbinglee/awscli-plugin-endpoint/tarball/0.3") +sha256sums=('0e9a2c9509b0a2bfafefcb543fa684974433de18099995d7f26284d2b1b0c61f') + +package_python2-awscli-plugin-endpoint() { + pkgdesc="This awscli plugin provides service endpoint configure **per service** on profile. (python2 version)" + + cd "${srcdir}/wbingli-awscli-plugin-endpoint-5bd5eaa" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + + install -v -m755 -d "${pkgdir}/usr/share/doc/python2-awscli-plugin-endpoint" + install -v -m644 README.md "${pkgdir}/usr/share/doc/python2-awscli-plugin-endpoint/" +} + +package_python-awscli-plugin-endpoint() { + pkgdesc="This awscli plugin provides service endpoint configure **per service** on profile. (python3 version)" + + cd "${srcdir}/wbingli-awscli-plugin-endpoint-5bd5eaa" + python setup.py install --root="${pkgdir}/" --optimize=1 + + install -v -m755 -d "${pkgdir}/usr/share/doc/python-awscli-plugin-endpoint" + install -v -m644 README.md "${pkgdir}/usr/share/doc/python-awscli-plugin-endpoint/" +} + +# vim:set ts=2 sw=2 et: + |