aboutsummaryrefslogtreecommitdiff
path: root/community/bubblewrap/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/bubblewrap/build')
-rwxr-xr-xcommunity/bubblewrap/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/bubblewrap/build b/community/bubblewrap/build
new file mode 100755
index 00000000..dd52b4ba
--- /dev/null
+++ b/community/bubblewrap/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+patch -p1 < realpath-workaround.patch
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --with-priv-mode=none \
+ --disable-man
+
+make
+make DESTDIR="$1" install