aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/opendoas/abuild
blob: 8f96fdde5373ff43a92e89bbb507f106176f4da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name=opendoas
version=6.8.2
release=1
source="https://github.com/Duncaen/OpenDoas/releases/download/v${version}/${name}-${version}.tar.xz
	doas.conf"

build() {
	BINOWN="$(id -u)" \
	BINGRP="$(id -g)" \
	./configure \
	    --prefix=/usr \
	    --with-shadow \
	    --with-timestamp \
	    --without-pam
	make
	make install
	
	mkdir -p $PKG/etc
	cp $SRC/doas.conf $PKG/etc
	chmod 600 $PKG/etc/doas.conf
}