path fixes
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=scikit-image
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=0.18.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Image processing routines for SciPy (mingw-w64)'
|
||||
arch=('any')
|
||||
url="http://scikit-image.org/"
|
||||
@@ -53,5 +53,9 @@ package() {
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
|
||||
${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \
|
||||
--root="${pkgdir}" --optimize=1 --skip-build
|
||||
|
||||
local _PREFIX_WIN=$(cygpath -m ${MINGW_PREFIX})
|
||||
sed -s "s|${_PREFIX_WIN}/bin/||g" -i "${pkgdir}${MINGW_PREFIX}/bin/skivi-script.py"
|
||||
|
||||
install -Dm644 LICENSE.txt "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE.txt"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user