summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2018-06-05 09:17:42 +0200
committerFrederik “Freso” S. Olesen2018-06-05 09:17:42 +0200
commit0a72d98f39ee01efaa474c5ed08ef36e5bf3e4b2 (patch)
tree0d51d73eea299f8a26b075df89d36f04f537e94a
parent485cdc8ee2e2f4d408d18d21c1fd745e0f1835cf (diff)
downloadaur-0a72d98f39ee01efaa474c5ed08ef36e5bf3e4b2.tar.gz
Update $source to use packager-friendly PyPI URL
See https://wiki.archlinux.org/index.php/Python_package_guidelines#PyPI_download_URLs
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 695a9b575c5..932158020ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gtimelog
pkgdesc = Small GTK+ app for keeping track of your time
pkgver = 0.11
- pkgrel = 4
+ pkgrel = 5
url = https://gtimelog.org/
arch = any
license = GPL
@@ -9,7 +9,7 @@ pkgbase = gtimelog
depends = python
depends = python-gobject
depends = python-setuptools
- source = https://files.pythonhosted.org/packages/33/e5/789ef0fc2280da0ba67bae24317ee77158f23be751835c8d9dc9f0198f21/gtimelog-0.11.tar.gz
+ source = https://files.pythonhosted.org/packages/source/g/gtimelog/gtimelog-0.11.tar.gz
sha256sums = ab43075afdd732e35bfc9f39ee425c23efe0f68258f3bc5688791a12028e6fc7
pkgname = gtimelog
diff --git a/PKGBUILD b/PKGBUILD
index 741f6816085..7ff4bae2b7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
pkgname=gtimelog
pkgver=0.11
-pkgrel=4
+pkgrel=5
pkgdesc='Small GTK+ app for keeping track of your time'
arch=('any')
url='https://gtimelog.org/'
license=('GPL')
depends=('python' 'python-gobject' 'python-setuptools')
makedepends=('python-docutils')
-source=("https://files.pythonhosted.org/packages/33/e5/789ef0fc2280da0ba67bae24317ee77158f23be751835c8d9dc9f0198f21/$pkgname-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('ab43075afdd732e35bfc9f39ee425c23efe0f68258f3bc5688791a12028e6fc7')
build() {