2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/core/sudo/build
2019-09-15 10:15:26 +03:00

25 lines
460 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-nls \
--disable-pam-session \
--disable-root-mailer \
--enable-pie \
--without-pam \
--without-sendmail \
--with-ignore-dot \
--with-insults=disabled \
--with-logfac=auth \
--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"