summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Fink2020-01-08 15:22:36 +0200
committerChristoph Fink2020-01-08 15:22:36 +0200
commit1f55c17477a84e6ed82f67ba90bfb4a4b2e8cb55 (patch)
tree7f7d9edde6479b83af8eb8cd6214764a5f0b49d6
parent3756eb21c4173754172b04183f8a216539580e9c (diff)
downloadaur-1f55c17477a84e6ed82f67ba90bfb4a4b2e8cb55.tar.gz
updated source URI
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 111bdc1734c3..24a09b8a29fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = python-dhash
pkgdesc = Python library to calculate the difference hash (perceptual hash) for a given image, useful for detecting duplicates
pkgver = 1.3
- pkgrel = 0
+ pkgrel = 1
url = https://github.com/Jetsetter/dhash
arch = any
license = MIT
makedepends = python-setuptools
makedepends = python2-setuptools
- source = https://files.pythonhosted.org/packages/3d/98/621b5dffc1d47135377ceeebd173f0daaa3e4c993a4dfd5cc0d63a3ffdbd/dhash-1.3.tar.gz
+ source = https://files.pythonhosted.org/packages/source/d/dhash/dhash-1.3.tar.gz
sha256sums = e6c8cd09d330f1ac44d3c9735d6b2a637d713dcb6b6091e340f91dda2484acb8
pkgname = python-dhash
diff --git a/PKGBUILD b/PKGBUILD
index b0a258ccc579..36aeb04cac9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=python-dhash
pkgname=('python-dhash' 'python2-dhash')
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Python library to calculate the difference hash (perceptual hash) for a given image, useful for detecting duplicates"
url="https://github.com/Jetsetter/dhash"
@@ -12,7 +12,8 @@ license=('MIT')
arch=('any')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/3d/98/621b5dffc1d47135377ceeebd173f0daaa3e4c993a4dfd5cc0d63a3ffdbd/dhash-1.3.tar.gz")
+_name=${pkgname#python-}
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=("e6c8cd09d330f1ac44d3c9735d6b2a637d713dcb6b6091e340f91dda2484acb8")
prepare() {