diff --git a/srcpkgs/python3-scikit-image/template b/srcpkgs/python3-scikit-image/template index f0d3f97a81..2770830cde 100644 --- a/srcpkgs/python3-scikit-image/template +++ b/srcpkgs/python3-scikit-image/template @@ -2,7 +2,8 @@ pkgname=python3-scikit-image version=0.17.2 revision=1 -wrksrc="${pkgname#python3-}-${version}" +_pkgname="${pkgname#python3-}" +wrksrc="${_pkgname}-version}" build_style=python3-module build_helper="numpy" hostmakedepends="python3-setuptools python3-Cython" @@ -13,7 +14,7 @@ short_desc="Image processing in Python" maintainer="Andrew J. Hesford " license="BSD-3-Clause, MIT" homepage="https://scikit-image.org/" -distfiles="https://github.com/scikit-image/scikit-image/archive/v${version}.tar.gz" +distfiles="https://github.com/${_pkgname}/${_pkgname}/archive/v${version}.tar.gz" checksum=54165f1c7365aacbd94df6c89ff72554260c3ea8fd8abdfb596d5d93b25d22ab post_install() {