summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 238fc33a6362..3c8c2ae6d810 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Anton Karmanov <a.karmanov@inventati.org>
pkgname='python-language-data'
+_proj_name='language_data'
pkgver=1.1
pkgrel=1
pkgdesc='Languages supplementary data for python-langcodes'
@@ -13,10 +14,7 @@ depends=(
'python-setuptools'
'python-marisa-trie')
makedepends=('python-build' 'python-installer' 'python-wheel')
-_srcurl='https://files.pythonhosted.org/packages'
-_srcurl="${_srcurl}/f4/ef/b2176538ebb01ac7c08b29c9d8cf878275ff98a4e717c57ee8123c373424"
-_srcurl="${_srcurl}/language_data-${pkgver}.tar.gz"
-source=("${_srcurl}")
+source=("https://files.pythonhosted.org/packages/source/${_proj_name::1}/$_proj_name/$_proj_name-$pkgver.tar.gz")
sha256sums=('c1f5283c46bba68befa37505857a3f672497aba0c522b37d99367e911232455b')
_tardir="language_data-${pkgver}"