how-lix-os-pkgs/swaybg/default/inst.sh

12 lines
255 B
Bash
Executable File

#!/bin/sh -e
PKG_CONFIG="pkgconf" \
CFLAGS="$SHARED_CFLAGS" \
CXXFLAGS="$SHARED_CXXFLAGS" \
LDFLAGS="$SHARED_LDFLAGS" \
samu -C ../build install
# no logind, so we need to setuid.
# sway drops root permissions shortly after startup.
chmod a+s /bin/sway