diff --git a/mingw-w64-python-unidecode/PKGBUILD b/mingw-w64-python-unidecode/PKGBUILD index 9501537f2c..04486b6781 100644 --- a/mingw-w64-python-unidecode/PKGBUILD +++ b/mingw-w64-python-unidecode/PKGBUILD @@ -3,7 +3,7 @@ _realname=unidecode pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=1.3.0 +pkgver=1.3.2 pkgrel=1 pkgdesc='ASCII transliterations of Unicode text (mingw-w64)' arch=('any') @@ -13,22 +13,22 @@ license=('GPL') depends=("${MINGW_PACKAGE_PREFIX}-python") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") source=("unidecode-unidecode-${pkgver}.tar.gz"::"https://github.com/avian2/unidecode/archive/unidecode-${pkgver}.tar.gz") -sha256sums=('a01305bf73fdf77970d765439099e9a01c25de33a7cc003f5f42c1f594b2bd97') +sha256sums=('602bb20f89c12d9d745045becfbd48873f8ef500fb22da26d4ade4b92876c58e') prepare() { cd "${srcdir}" - rm -rf "python-build-${CARCH}" | true - cp -r "unidecode-unidecode-${pkgver}" "python-build-${CARCH}" + rm -rf "python-build-${MSYSTEM}" | true + cp -r "unidecode-unidecode-${pkgver}" "python-build-${MSYSTEM}" } build() { - msg "Python build for ${CARCH}" - cd "${srcdir}/python-build-${CARCH}" + msg "Python build for ${MSYSTEM}" + cd "${srcdir}/python-build-${MSYSTEM}" ${MINGW_PREFIX}/bin/python setup.py build } package() { - cd "${srcdir}/python-build-${CARCH}" + cd "${srcdir}/python-build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} --root="${pkgdir}" -O1 --skip-build