2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/extra/sudo/build
2019-08-30 17:03:08 +00:00

24 lines
433 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-nls \
--with-ignore-dot \
--with-insults=disabled \
--with-all-insults \
--without-sendmail \
--with-logfac=auth \
--disable-root-mailer \
--enable-pie \
--with-passprompt="[sudo] password for %p: "
make
make \
DESTDIR="$1" \
install_uid="$(id -u)" \
install_gid="$(id -g)" \
install
# Remove docs.
rm -rf "$1/usr/share/doc"