hasufell-repository/packages/app-admin/su-exec/su-exec-0.2.exheres-0

31 lines
500 B
Bash
Raw Normal View History

2018-06-06 18:21:41 +00:00
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user='ncopa' tag="v${PV}" ]
SUMMARY="Switch user and group id and exec"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_COMPILE_PARAMS=(
CC=${CC}
)
src_prepare() {
default
edo sed -i \
-e "s/-Werror//" \
Makefile
}
src_install() {
dobin su-exec
emagicdocs
}