void-packages/srcpkgs/s3cmd/template

24 lines
702 B
Plaintext

# Template file for 's3cmd'
pkgname=s3cmd
_distver=1.5.0-rc1
version="${_distver//-/}"
wrksrc="${pkgname}-${_distver}"
revision=1
noarch=yes
build_style=python-module
pycompile_module="S3"
hostmakedepends="python-setuptools"
depends="python-dateutil"
short_desc="Command line tool for Amazon S3"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2"
homepage="http://s3tools.org/s3cmd"
update_version="${_distver//-/.}"
update_pattern='archive/v?\K[\d.]+(-rc\d)?(?=\.tar\.gz)'
distfiles="https://github.com/s3tools/${pkgname}/archive/v${_distver}.tar.gz"
checksum=650dc3e0ee0ce7500183973dd66c121be3c4dde2570ad96b9d834ba6dca77a8c
pre_install() {
export S3CMD_INSTPATH_DOC="usr/share/doc"
}