Browse Source
office/khard: Update version to 0.20.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/310/head
Tonus
3 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
7 additions and
20 deletions
-
office/khard/khard.SlackBuild
-
office/khard/khard.info
|
|
@ -25,7 +25,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=khard |
|
|
|
VERSION=${VERSION:-0.19.1} |
|
|
|
VERSION=${VERSION:-0.20.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo} |
|
|
|
PKG=$TMP/package-$PRGNAM |
|
|
|
OUTPUT=${OUTPUT:-/tmp} |
|
|
|
|
|
|
|
if [ "$ARCH" = "i586" ]; then |
|
|
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
elif [ "$ARCH" = "i686" ]; then |
|
|
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
elif [ "$ARCH" = "x86_64" ]; then |
|
|
|
SLKCFLAGS="-O2 -fPIC" |
|
|
|
LIBDIRSUFFIX="64" |
|
|
|
else |
|
|
|
SLKCFLAGS="-O2" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
fi |
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
rm -rf $PKG |
|
|
@ -79,7 +65,8 @@ find -L . \ |
|
|
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') |
|
|
|
export PYTHONPATH=/opt/python$PYVER/site-packages/ |
|
|
|
|
|
|
|
python3 setup.py install --root=$PKG |
|
|
|
python3 -m build --no-isolation |
|
|
|
python3 -m installer -d "$PKG" dist/*.whl |
|
|
|
|
|
|
|
# Strip binaries and libraries. |
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
|
PRGNAM="khard" |
|
|
|
VERSION="0.19.1" |
|
|
|
VERSION="0.20.0" |
|
|
|
HOMEPAGE="https://github.com/scheibler/khard/" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/0d/00/215a69d2ae96cac511a6594116958bf13e210dd24f78c48f5ffaf039edec/khard-0.19.1.tar.gz" |
|
|
|
MD5SUM="2659cd0e0038ab1d81c50ea51b3d4951" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/source/k/khard/khard-0.20.0.tar.gz" |
|
|
|
MD5SUM="1e72b460cc264d9316d4facab4942b77" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="python3-setuptools-opt Unidecode vobject python3-ruamel.yaml python3-atomicwrites python3-configobj" |
|
|
|
REQUIRES="python3-setuptools-opt Unidecode vobject python3-ruamel.yaml python3-configobj" |
|
|
|
MAINTAINER="Tonus" |
|
|
|
EMAIL="tonus1@free.fr" |