summaryrefslogtreecommitdiff
path: root/pcr/python-wstool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python-wstool/PKGBUILD')
-rw-r--r--pcr/python-wstool/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/python-wstool/PKGBUILD b/pcr/python-wstool/PKGBUILD
new file mode 100644
index 000000000..72fa7732e
--- /dev/null
+++ b/pcr/python-wstool/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer (AUR): Kartik Mohta <kartikmohta@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=wstool
+pkgname=python-$_pkgname
+pkgver=0.1.17
+pkgrel=1
+pkgdesc="workspace multi-SCM commands"
+url="http://wiki.ros.org/wstool"
+depends=('python' 'python-vcstools' 'python-yaml')
+replaces=('python2-wstool')
+makedepends=('python-setuptools')
+license=('BSD3')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/w/wstool/wstool-${pkgver}.tar.gz")
+sha256sums=('c79b4f110ef17004c24972d742d2c5f606b0f6b424295e7ed029a48e857de237')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}