From 5d794933ce4b0d8ad015577ac2aebdccd8394d20 Mon Sep 17 00:00:00 2001 From: Lorenzo Beretta Date: Fri, 5 Nov 2021 15:39:35 +0100 Subject: [PATCH] update xiate to new home and version This fixes https://github.com/void-linux/void-packages/issues/3549; upstream is no longer using config.h, so we can simplify pre_configure. Also use vsed instead of plain sed. --- srcpkgs/xiate/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/xiate/template b/srcpkgs/xiate/template index 742c53df8a8e..ec5db68ba5bf 100644 --- a/srcpkgs/xiate/template +++ b/srcpkgs/xiate/template @@ -1,7 +1,8 @@ # Template file for 'xiate' pkgname=xiate -version=18.05 +version=21.05 revision=1 +wrksrc=xiate-v${version} build_style=gnu-makefile hostmakedepends="pkg-config" makedepends="vte3-devel" @@ -9,13 +10,11 @@ short_desc="Terminal emulator which uses VTE as a backend" maintainer="Diogo Leal " license="MIT" homepage="https://www.uninformativ.de/projects/xiate/" -distfiles="https://github.com/vain/xiate/archive/v${version}.tar.gz" -checksum=2f7317cc71849cdbf31479be224f9ed20fce25d2fa8320885a5294ed2101411b +distfiles="https://www.uninformativ.de/git/xiate/archives/xiate-v${version}.tar.gz" +checksum=487dc53f48494e53a1db9aa36a1e04a594b207d7fcda84908e192bb4e706b7cb pre_configure() { - cp config.def.h config.h - [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h - sed -i 's;/usr/local;/usr;g' Makefile + vsed -i 's;/usr/local;/usr;g' Makefile } post_install() {