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:
parent
67adbca402
commit
70d3b76f28
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'xiate'
|
# Template file for 'xiate'
|
||||||
pkgname=xiate
|
pkgname=xiate
|
||||||
version=18.05
|
version=21.05
|
||||||
revision=1
|
revision=1
|
||||||
|
wrksrc=xiate-v${version}
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="vte3-devel"
|
makedepends="vte3-devel"
|
||||||
|
@ -9,13 +10,11 @@ short_desc="Terminal emulator which uses VTE as a backend"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://www.uninformativ.de/projects/xiate/"
|
homepage="https://www.uninformativ.de/projects/xiate/"
|
||||||
distfiles="https://github.com/vain/xiate/archive/v${version}.tar.gz"
|
distfiles="https://www.uninformativ.de/git/xiate/archives/xiate-v${version}.tar.gz"
|
||||||
checksum=2f7317cc71849cdbf31479be224f9ed20fce25d2fa8320885a5294ed2101411b
|
checksum=487dc53f48494e53a1db9aa36a1e04a594b207d7fcda84908e192bb4e706b7cb
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
cp config.def.h config.h
|
vsed -i 's;/usr/local;/usr;g' Makefile
|
||||||
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
||||||
sed -i 's;/usr/local;/usr;g' Makefile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue