summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Falkenberg2021-05-16 17:31:17 +0200
committerRobert Falkenberg2021-05-16 17:31:17 +0200
commitca6990e1457d30972a85137c18300e3519701cfa (patch)
treecb0a8540d8268d6e011bfbfe752bd86356828e5e
parent04088e268267fc3c0db2c1c18874d2b2700e0ba9 (diff)
downloadaur-python-pytlv.tar.gz
Use predictable URL for sources
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a2cb70685da..222f4075a10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
pkgname=python-pytlv
-_pyname=pytlv
+_pyname=${pkgname#python-}
pkgver=0.71
pkgrel=1
pkgdesc='TLV(tag length value) data parser, especially useful for EMV tags parsing'
@@ -10,7 +10,8 @@ url='https://github.com/timgabets/pytlv'
license=('LGPL2.1')
depends=('python')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/bf/fb/05cb227d725bae7fce250c5b4706442d74e94e3f5faa655efd4621ed559c/${_pyname}-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+#source=("https://files.pythonhosted.org/packages/bf/fb/05cb227d725bae7fce250c5b4706442d74e94e3f5faa655efd4621ed559c/${_pyname}-${pkgver}.tar.gz")
md5sums=('a5524ed1c8e7ca26f4408a15d6570b7f')
package() {