25 lines
564 B
Plaintext
25 lines
564 B
Plaintext
# Description: Unprivileged sandboxing tool
|
|
# URL: https://github.com/projectatomic/bubblewrap/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libcap
|
|
# Optional: docbook-xsl
|
|
|
|
name=bubblewrap
|
|
version=0.4.0
|
|
release=1
|
|
source=(https://github.com/projectatomic/bubblewrap/releases/download/v$version/$name-$version.tar.xz
|
|
bwrap.1)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
prt-get isinst docbook-xsl || install -Dm644 $SRC/bwrap.1 $PKG/usr/share/man/man1/bwrap.1
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-priv-mode=setuid
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|