python-unidecode: New package

This commit is contained in:
Konstantin Podsvirov
2020-05-18 22:55:34 +03:00
committed by Christoph Reiter
parent 52c6513cf7
commit 3f89527a89
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
post_install() {
cd mingw32
local _prefix=$(pwd -W)
cd -
local _it
for _it in unidecode; do
sed -e "s|/mingw32|${_prefix}|g" \
-i ${_prefix}/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}