summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchmad Fathoni2020-10-26 12:23:49 +0700
committerAchmad Fathoni2020-10-26 12:23:49 +0700
commit4271094ab01e7f997ef081cf91b3d8dc4a132069 (patch)
tree87da944203692b86517bbf9dec14b8f6930e2d6e
parent4a463c4bfd98b00e7b0b4564b9c00e2ccae70a2e (diff)
downloadaur-4271094ab01e7f997ef081cf91b3d8dc4a132069.tar.gz
change to hashless source link
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dad5ead26a2..8355ff4d177 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,7 @@ pkgbase = python-colcon-bash
license = Apache
makedepends = python-setuptools
depends = python-colcon-core
- source = https://files.pythonhosted.org/packages/c3/7c/7ab5345c9aa64d91bdc09e69bc3f90678eb08a0ba8c512ca1972927d8ee6/colcon-bash-0.4.2.tar.gz
+ source = https://files.pythonhosted.org/packages/source/c/colcon-bash/colcon-bash-0.4.2.tar.gz
sha256sums = 86950ca62293b655ef8d655d2994d110321fff2fc6739c46a64f005a0cee1bdd
pkgname = python-colcon-bash
diff --git a/PKGBUILD b/PKGBUILD
index fbc9c1a2948..eb6567b85d5 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-bash
+_name=colcon-bash
pkgver=0.4.2
pkgrel=1
pkgdesc="An extension for colcon-core to provide Bash scripts."
@@ -9,8 +10,8 @@ url="https://pypi.org/project/colcon-bash"
license=('Apache')
depends=('python-colcon-core')
makedepends=('python-setuptools')
-source=(https://files.pythonhosted.org/packages/c3/7c/7ab5345c9aa64d91bdc09e69bc3f90678eb08a0ba8c512ca1972927d8ee6/colcon-bash-0.4.2.tar.gz)
-sha256sums=(86950ca62293b655ef8d655d2994d110321fff2fc6739c46a64f005a0cee1bdd)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('86950ca62293b655ef8d655d2994d110321fff2fc6739c46a64f005a0cee1bdd')
package() {
cd ${srcdir}/colcon-bash-${pkgver}