aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s3cmd/APKBUILD
blob: fc46e262443c8854fc730b2d2d31fd3a0c43c509 (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
29
30
31
32
# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=s3cmd
pkgver=2.0.2
pkgrel=1
pkgdesc="Command line tool for managing Amazon S3 and CloudFront services"
url="https://github.com/s3tools/s3cmd"
arch="noarch"
license="GPL-2.0-or-later"
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="747300e7a9a7f881f5e54b438457254545fcee0c5d201cad6a75863aa8446309b7fc6c40b42f4ca338d32bc67be79a4f364dceec7551f80e27aed60cdcc324ce  s3cmd-2.0.2.tar.gz"