New package: s3cmd

This commit is contained in:
Eivind Uggedal 2014-12-06 07:15:13 +00:00
parent de42b0c066
commit a64f5f8281
1 changed files with 23 additions and 0 deletions

23
srcpkgs/s3cmd/template Normal file
View File

@ -0,0 +1,23 @@
# 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"
}