From b5384a7a946b662ae0968a6bcc7158b3d15b5b0d Mon Sep 17 00:00:00 2001 From: Benjamin Slade Date: Thu, 28 Jun 2018 13:22:26 -0600 Subject: [PATCH] kitty: update to 0.11.1 (#188) --- srcpkgs/kitty/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index f6d7d7bf71..26e1125596 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -1,9 +1,9 @@ # Template file for 'kitty' pkgname=kitty -version=0.10.1 +version=0.11.1 revision=1 python_version=3 -hostmakedepends="ncurses pkg-config python3-devel wayland-devel wayland-protocols" +hostmakedepends="ncurses pkg-config" makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel python3-devel wayland-devel wayland-protocols" depends="kitty-terminfo" @@ -11,9 +11,13 @@ conf_files="/etc/kitty/kitty.conf" short_desc="Modern, hackable, featureful, OpenGL based terminal emulator" maintainer="Julio Galvan " license="GPL-3.0-or-later" -homepage="https://github.com/kovidgoyal/kitty" -distfiles="https://github.com/kovidgoyal/kitty/archive/v${version}.tar.gz" -checksum=ef22208497a76e2f88ebe56c176e4608f049b056252cf1bf122c9c1ec711cfa6 +homepage="https://sw.kovidgoyal.net/kitty/" +distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz" +checksum=3baf72ee4de8818bbc205fd631f716b60eabc8bd215ec7e834e00a01db7912c4 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" python3-devel wayland-devel wayland-protocols" +fi do_build() { if [ -n "$CROSS_BUILD" ]; then @@ -29,7 +33,7 @@ do_build() { do_install() { vmkdir etc/kitty - cp ${DESTDIR}/usr/lib/kitty/kitty/kitty.conf ${DESTDIR}/etc/kitty/ + cp ${DESTDIR}/usr/share/doc/kitty/html/_downloads/kitty.conf ${DESTDIR}/etc/kitty/ } kitty-terminfo_package() {