blob: 9bd77ffd8841dc0aaeb149b0b6292a2a08f7624a (
plain)
1 # Description: A portable fork of the OpenBSD `doas` command
2 # URL: https://github.com/Duncaen/OpenDoas
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: linux-pam
5
6 name=opendoas
7 version=6.8.2
8 release=2
9 source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/$name-$version.tar.xz
10 doas.pam better-wayland-support.patch)
11
12 build() {
13 cd $name-$version
14 patch -Np1 -i $SRC/better-wayland-support.patch
15 ./configure --prefix=/usr \
16 --with-timestamp
17 make
18 make DESTDIR=$PKG install
19 install -Dm644 $SRC/doas.pam \
20 $PKG/etc/pam.d/doas
21 }
|