diff options
author | Xavion | 2015-07-29 08:44:10 +1000 |
---|---|---|
committer | Xavion | 2015-07-29 08:44:10 +1000 |
commit | 54482fd52bc58c9adeaf864e73f85de0850b4a60 (patch) | |
tree | 86335025a00cbba0cc0140d381a83cf6f68c1cfb | |
download | aur-54482fd52bc58c9adeaf864e73f85de0850b4a60.tar.gz |
Initial AUR v4 importation
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fe9c5898af4a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-boto-rsync + pkgdesc = An rsync-like utility using boto's S3 and Google Storage interfaces. + pkgver = 0.8.1 + pkgrel = 1 + url = http://github.com/seedifferently/boto_rsync + arch = any + license = MIT + makedepends = git + depends = python2 + depends = python2-boto + +pkgname = python2-boto-rsync + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ca0aa50676e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> + +_base1_=boto +_base2_=rsync +_appname_=${_base1_}-${_base2_} +_filename_=${_base1_}_${_base2_} +pkgname=python2-${_appname_} +pkgver=0.8.1 +pkgrel=1 +pkgdesc="An rsync-like utility using boto's S3 and Google Storage interfaces." +url="http://github.com/seedifferently/boto_rsync" +license="MIT" +arch=("any") +makedepends=("git") +depends=("python2" "python2-boto") +source=() + +_gitroot="http://github.com/seedifferently/${_filename_}.git" +_gitname="${_filename_}" + +build() { + cd "${srcdir}" + + # Repository + msg "Connecting to GIT server ..." + if [ -d "${srcdir}/${_gitname}" ] ; then + cd ${_gitname} && git pull origin + else + git clone "${_gitroot}" + cd ${_gitname} + fi + + # Changes + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' bin/${_appname_} +} + +package() { + cd ${_gitname} + + # Install + python2 setup.py install -O1 --root="${pkgdir}" + + # License + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |