kiss-mfavila-large/community-mod/stable/sshfs/build
2021-07-28 18:38:44 +00:00

20 lines
408 B
Bash
Executable File

#!/bin/sh -e
# Removes code that creates broken symlinks.
sed -i '15,19d' utils/install_helper.sh
export DESTDIR="$1"
meson \
--prefix=/usr \
-Dexamples=false \
-Dsbindir=bin \
. output
ninja -C output
ninja -C output install
# Properly create the symlinks that the above helper wanted to.
ln -s /usr/bin/sshfs "$1/usr/bin/mount.sshfs"
ln -s /usr/bin/sshfs "$1/usr/bin/mount.fuse.sshfs"