i3-gaps: update to 4.18.1.

This commit is contained in:
Piraty 2020-06-01 00:00:32 +02:00
parent 7749d0c90b
commit 87b159f143
1 changed files with 9 additions and 4 deletions

View File

@ -33,13 +33,18 @@ pre_configure() {
pre_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i "/^LIBS =/s,$,& ${XBPS_CROSS_BASE}/usr/lib/libglob.a," Makefile
sed -i '/include/s,glob.h,libglob/glob.h,g' i3bar/src/main.c libi3/resolve_tilde.c
sed -i '/GLOB_TILDE/s/glob(/g_glob(/g' i3bar/src/main.c libi3/resolve_tilde.c
sed -i 's/globfree(/g_globfree(/g' i3bar/src/main.c libi3/resolve_tilde.c
vsed -i "/^LIBS =/s,$,& ${XBPS_CROSS_BASE}/usr/lib/libglob.a," Makefile
vsed -i '/include/s,glob.h,libglob/glob.h,g' i3bar/src/main.c libi3/resolve_tilde.c
vsed -i '/GLOB_TILDE/s/glob(/g_glob(/g' i3bar/src/main.c libi3/resolve_tilde.c
vsed -i 's/globfree(/g_globfree(/g' i3bar/src/main.c libi3/resolve_tilde.c
;;
esac
}
do_check() {
:
}
post_install() {
rm -rf ${DESTDIR}/usr/include
vlicense LICENSE