From a64f5f8281724f9ad68f3a186f4a31a4a55d1945 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Sat, 6 Dec 2014 07:15:13 +0000 Subject: [PATCH] New package: s3cmd --- srcpkgs/s3cmd/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/s3cmd/template diff --git a/srcpkgs/s3cmd/template b/srcpkgs/s3cmd/template new file mode 100644 index 0000000000..47260ece28 --- /dev/null +++ b/srcpkgs/s3cmd/template @@ -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 " +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" +}