i3: build as released version

Close #28545
This commit is contained in:
Đoàn Trần Công Danh 2021-02-07 23:09:04 +07:00
parent 857b8c87d7
commit b4029118e5
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'i3' # Template file for 'i3'
pkgname=i3 pkgname=i3
version=4.19.1 version=4.19.1
revision=1 revision=2
build_style=meson build_style=meson
hostmakedepends="pkg-config perl" hostmakedepends="pkg-config perl"
makedepends="pcre-devel yajl-devel libxcb-devel libev-devel makedepends="pcre-devel yajl-devel libxcb-devel libev-devel
@ -21,7 +21,8 @@ case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libglob-devel";; *-musl) makedepends+=" libglob-devel";;
esac esac
pre_build() { post_patch() {
vsed -i "s/-non-git/ ($(date --iso-8601))/" meson.build
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) *-musl)
vsed -i "/^common_deps/i glob_dep = cc.find_library('glob')" meson.build vsed -i "/^common_deps/i glob_dep = cc.find_library('glob')" meson.build