diff options
Diffstat (limited to 'testing/s3cmd/APKBUILD')
-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" |