kiss-mfavila-large/community-mod/rolling/sbase-git/build

11 lines
255 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# Make sbase tar accept arguments without dash
patch -p1 < tar-dash-remove.patch
make LDFLAGS="$LDFLAGS -static" sbase-box
make DESTDIR="$1" PREFIX=/usr sbase-box-install
# Unlink sed, because '-i' is widely used
unlink "$1/usr/bin/sed"