diff --git a/srcpkgs/i3-gaps/template b/srcpkgs/i3-gaps/template index d0c9ead7487..9829b67b827 100644 --- a/srcpkgs/i3-gaps/template +++ b/srcpkgs/i3-gaps/template @@ -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