blob: 886a02b5e51d91588552bebdd9b11e67d84c8e8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=firejail
pkgver=0.9.40_rc1
_pkgver=${pkgver//_/-}
pkgrel=0
pkgdesc="Linux namespaces and seccomp-bpf sandbox"
url="https://firejail.wordpress.com/"
arch="all"
license="GPL2"
depends="bash"
depends_dev=""
makedepends="$depends_dev linux-headers"
install=""
options="suid"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$_pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$_pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash"
arch="noarch"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/share "$subpkgdir"/usr/
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="2350813ed6bdb9c237edc8a84b84992a firejail-0.9.40_rc1.tar.gz"
sha256sums="c78146cd615c494074dd25d6ddd6befe543ab48b234fa97485e435e1d0abc89e firejail-0.9.40_rc1.tar.gz"
sha512sums="bd31e9ee81e2060a9e9c80c3fcdfb01470b5e3f3ce99616089866ee43dc4d858cd24b7067cfe356b48d3d160c876c8fb7d32660e2d315756244c1f1047e27c1f firejail-0.9.40_rc1.tar.gz"
|