summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7b2b96b69a7..1b2aa72d027 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,12 @@
-#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-common-extensions
-pkgver=0.2.0
+_name=${pkgname:7}
+pkgver=0.2.1
pkgrel=1
pkgdesc="A meta package aggregating colcon-core as well as a set of common extensions."
arch=(any)
-url="https://pypi.org/project/colcon-common-extensions/"
+url="https://pypi.org/project/$_name"
license=('Apache')
depends=('python-yaml'
'python-pyaml'
@@ -25,12 +27,12 @@ depends=('python-yaml'
'python-colcon-output'
'python-colcon-zsh')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/66/41/72f618236c6bac205abe253479100df09fddde237f3949f247e70b6e081c/colcon-common-extensions-$pkgver.tar.gz")
-sha256sums=('64b2c1e5f9f560fa9c3fe19048f72e1df78b873b1a4df65c5e2b266bd37df17f')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('73af96598efc24748234d68c0f3a7419cb1e47a4c3c90f6b0d70bcffef034826')
package() {
- cd ${srcdir}/colcon-common-extensions-${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}"