diff options
author | Gennady Feldman <gena01@gmail.com> | 2018-01-01 23:00:43 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-17 08:30:44 +0000 |
commit | e52e971ab60bbfb7fee00350305b7168b26e5cb1 (patch) | |
tree | 31703448ef59478aa082d233f8921a40e772a85d /testing | |
parent | 0fe60c188661d9a159d050757eb36f250ed70537 (diff) | |
download | aports-e52e971ab60bbfb7fee00350305b7168b26e5cb1.tar.bz2 aports-e52e971ab60bbfb7fee00350305b7168b26e5cb1.tar.xz |
testing/s3cmd: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/s3cmd/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/s3cmd/APKBUILD b/testing/s3cmd/APKBUILD new file mode 100644 index 0000000000..0ab0063893 --- /dev/null +++ b/testing/s3cmd/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Gennady Feldman <gena01@gmail.com> +# Maintainer: Gennady Feldman <gena01@gmail.com> +pkgname=s3cmd +pkgver=2.0.1 +pkgrel=0 +pkgdesc="Command line tool for managing Amazon S3 and CloudFront services" +url="https://github.com/s3tools/s3cmd" +arch="noarch" +license="GPL-2.0" +depends="python3 py3-dateutil py3-magic" +makedepends="python3-dev py3-setuptools" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/s3tools/s3cmd/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="93cb4614016e0f2af655bc2f0d53d641a0baaa17060c8c46ee1690434a11e9bb038098710fdb4d2f0abfa9e1f850b45b25c722e554f1b7b88546104dcbf56f6a s3cmd-2.0.1.tar.gz" |