diff options
author | Christoph Fink | 2020-01-08 15:22:36 +0200 |
---|---|---|
committer | Christoph Fink | 2020-01-08 15:22:36 +0200 |
commit | 1f55c17477a84e6ed82f67ba90bfb4a4b2e8cb55 (patch) | |
tree | 7f7d9edde6479b83af8eb8cd6214764a5f0b49d6 | |
parent | 3756eb21c4173754172b04183f8a216539580e9c (diff) | |
download | aur-1f55c17477a84e6ed82f67ba90bfb4a4b2e8cb55.tar.gz |
updated source URI
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -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 @@ -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() { |