summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchmad Fathoni2020-10-26 12:21:38 +0700
committerAchmad Fathoni2020-10-26 12:21:38 +0700
commit38fbf6edbeb44c768b56250a28d1155b5d87015b (patch)
treeceaff0caec6ded36aba39e2d1d620ad770d3f686
parent97ac2ed0b86a7afa3b17ed44e1ea26f7a036512a (diff)
downloadaur-38fbf6edbeb44c768b56250a28d1155b5d87015b.tar.gz
change to hashless source link
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0f7ef071a9..2996776b2ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = python-colcon-argcomplete
makedepends = python-setuptools
depends = python-colcon-core
depends = python-argcomplete
- source = https://files.pythonhosted.org/packages/c9/9e/fe7842b0c1c82511f8d9176cfdbd1ba0e19bc24219c84a0510ed816078a6/colcon-argcomplete-0.3.3.tar.gz
+ source = https://files.pythonhosted.org/packages/source/c/colcon-argcomplete/colcon-argcomplete-0.3.3.tar.gz
sha256sums = 3e70a32b7d16b816a7c72182bdb20df985ffc01678ec9c67d44659814a61987d
pkgname = python-colcon-argcomplete
diff --git a/PKGBUILD b/PKGBUILD
index dc700d8ca77..2d779846a73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
# Contributor: Tong Chunli<t.cunly at 163 dot com>
pkgname=python-colcon-argcomplete
+_name=colcon-argcomplete
pkgver=0.3.3
pkgrel=1
pkgdesc="An extension for colcon-core to provide command line completion using argcomplete."
@@ -9,7 +10,7 @@ url="https://pypi.org/project/colcon-argcomplete"
license=('Apache')
depends=('python-colcon-core' 'python-argcomplete')
makedepends=('python-setuptools')
-source=(https://files.pythonhosted.org/packages/c9/9e/fe7842b0c1c82511f8d9176cfdbd1ba0e19bc24219c84a0510ed816078a6/colcon-argcomplete-0.3.3.tar.gz)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha256sums=('3e70a32b7d16b816a7c72182bdb20df985ffc01678ec9c67d44659814a61987d')
package() {