kitty: update to 0.13.3.

This commit is contained in:
Christian Buschau 2019-01-23 13:46:53 +01:00 committed by John Zimmermann
parent bf62e672ec
commit 0d9b5c9a35
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'kitty'
pkgname=kitty
version=0.13.2
version=0.13.3
revision=1
pycompile_dirs="usr/lib/kitty"
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
@ -13,17 +13,16 @@ license="GPL-3.0-or-later"
homepage="https://sw.kovidgoyal.net/kitty/"
changelog="https://sw.kovidgoyal.net/kitty/changelog.html"
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
checksum=84699311cd99989fa428326264df193f9c5e449afa1d399ece324e269c5b9726
checksum=37b90f3467c31ee9f0338c066563ab2ec2eac56267286bc4ef6d9850f97f1507
pycompile_version="$py3_ver"
do_build() {
if [ "$CROSS_BUILD" ]; then
export CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
sed -i "s|-fpie|-fpie ${CFLAGS}|g" setup.py
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc}"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i 's/pow10/pow_10/g' kitty/parser.c;;
vsed -e 's/pow10/pow_10/g' -i kitty/parser.c;;
esac
python3 setup.py linux-package --prefix=${DESTDIR}/usr --verbose
}