21 lines
500 B
Plaintext
21 lines
500 B
Plaintext
|
# Description: A portable fork of the OpenBSD `doas` command
|
||
|
# URL: https://github.com/Duncaen/OpenDoas
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: linux-pam
|
||
|
|
||
|
name=opendoas
|
||
|
version=6.8.1
|
||
|
release=1
|
||
|
source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/$name-$version.tar.xz
|
||
|
doas.pam)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
./configure --prefix=/usr \
|
||
|
--with-timestamp
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
install -Dm644 $SRC/doas.pam \
|
||
|
$PKG/etc/pam.d/doas
|
||
|
}
|