2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 04:00:14 -07:00
repo/extra/sudo/build
2019-09-08 18:50:23 +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"