xiate: update to 21.05 and new home

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.
This commit is contained in:
Lorenzo Beretta 2021-11-05 15:39:35 +01:00 committed by Érico Nogueira Rolim
parent 67adbca402
commit 70d3b76f28
1 changed files with 5 additions and 6 deletions

View File

@ -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 <diogo@diogoleal.com>"
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() {