summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6e7097ba421..1a473600c08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,8 @@
-#Maintainer: Tong Chunli<t.cunly at 163 dot com>
+# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
+# Contributor: Tong Chunli<t.cunly at 163 dot com>
pkgname=python-colcon-devtools
-pkgver=0.2.1
+_name=${pkgname:7}
+pkgver=0.2.2
pkgrel=1
pkgdesc="An extension for colcon-core to provide information about the plugin system."
arch=(any)
@@ -8,12 +10,12 @@ url="https://pypi.org/project/colcon-devtools/"
license=('Apache')
depends=('python-colcon-core')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/1d/ac/8f67927a04e8c05fb9d7abca0f5954382e92d136e00c9d961a8875b84bd7/colcon-devtools-$pkgver.tar.gz")
-sha256sums=('5761e2025e4860ca618491aebd2bd12ab68ebd96c11c92ad1b7e1b1caf7a1ecf')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('6ed3f29052c44e021b64106d5ae338e2b8936ba58c9f1c0496478327973d3f7b')
package() {
- cd ${srcdir}/colcon-devtools-${pkgver}
+ cd ${srcdir}/${_name}-${pkgver}
python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"