khard: updated python syntax

This commit is contained in:
Tim Biermann 2020-11-03 18:55:30 +00:00
parent 413374c407
commit 7538012cc1
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39qVvK1ZRjuxxdiUL3SqkSmQxFVPzcTccxwbaYBRCdL1DSTK8AfuyxPT42VTEFb6sTy6OtQRkQBmcJn+R9n4vww=
SHA256 (Pkgfile) = d73247636a4772ea2d9154e855735674cbcd6267b63e81e519334dc78e3c5f8c
RWSagIOpLGJF34jO8d5KUCkJspu9gBXXfuFjJOzK5YElx4ljrwTKupsSWQ+3Duq3JmJnv3OmOS3+hBqOiyul+RcVisIlgRf57wo=
SHA256 (Pkgfile) = 04c6416dc5717159392b7dec350ec74295b81d657fa4771b2c276948f81c8a9b
SHA256 (.footprint) = 2973f9936647ed7f4e89eb282433987be4ee639da72453e034a730f081a21968
SHA256 (khard-0.17.0.tar.gz) = 164e1aee9264735ec0473a74a38842e6272bbb814d949a66084c6a373bd95618

View File

@ -10,12 +10,12 @@ source=(https://files.pythonhosted.org/packages/source/k/khard/$name-$version.ta
build() {
cd $name-$version
python3 setup.py build
python3 setup.py install --skip-build \
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root=$PKG
if [ -e /lib/zsh ]; then
if [ -e /lib/zsh || /usr/lib/zsh ]; then
install -vDm 644 misc/zsh/_* \
-t $PKG/usr/share/zsh/site-functions/
fi