From 0d9b5c9a353125d2165efa4afce78247493bf337 Mon Sep 17 00:00:00 2001 From: Christian Buschau Date: Wed, 23 Jan 2019 13:46:53 +0100 Subject: [PATCH] kitty: update to 0.13.3. --- srcpkgs/kitty/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index 26e3a3fb53e..a46b4dd9328 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -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 }