summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-06-21 21:53:46 -0700
committerDonald Webster2019-06-21 21:53:46 -0700
commit6c9abed67e454fb2961b6d59ee52a30c4e19e5f8 (patch)
treeaad7f5f4b9af5e6708f92f34d13bc0c74233a32d
parent5ecbda54bcab0850d54fec32bb9ca5958e005c9a (diff)
downloadaur-6c9abed67e454fb2961b6d59ee52a30c4e19e5f8.tar.gz
Use the *right* fancy path.
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 082f7616225..1f9a3edd635 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
# Contributor: Dylan Whichard <dylan@whichard.com>
pkgname=('python-schedule')
+_name=${pkgname#python-}
pkgver=0.6.0
pkgrel=1
pkgdesc='Python job scheduling for humans.'
@@ -10,7 +11,7 @@ url="https://github.com/dbader/schedule"
license=('MIT')
depends=('python>=2.3')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/source/s/schedule/schedule-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('f9fb5181283de4db6e701d476dd01b6a3dd81c38462a54991ddbb9d26db857c9')
prepare() {