diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() { |