summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 896edcfa7078322a5e895e7d74f69201465ac7b2 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Maintainer: Kimiblock Moe
pkgname=portable
epoch=1
pkgver=11.2.2
pkgrel=1
epoch=1
pkgdesc="Fast, private, efficient sandbox for Linux desktop."
arch=('any')
url="https://github.com/Kraftland/portable"
license=(GPL-3.0-or-later)
provides=(portable)
groups=()
options=(!debug !strip)

makedepends+=(git)

depends=(
	"libnotify"
	"findutils"
	pipewire
	"procps-ng"
	"coreutils"
	"xdg-user-dirs"
	"xorg-xhost"
	"zenity"
	"xdg-dbus-proxy"
	"bubblewrap"
	"util-linux"
	"glib2"
	"wayland"
	"dbus"
	"bash"
	"xdg-desktop-portal-impl"
	"inotify-tools"
	"grep"
)

optdepends=(
	'at-spi2-core: accessibility'
	'orca: screen reader'
)

makedepends+=(
	"libarchive"
)

checkdepends=()

source=(portable::git+https://github.com/Kraftland/portable.git#tag=${pkgver})

md5sums=('7af9cc66159b4fda2ee657f5d8235fb5')


function package() {
	cd portable
	install -vDm755 portable.sh "${pkgdir}/usr/bin/portable"
	install -d "${pkgdir}/usr/lib/"
	cp -r "${srcdir}/portable/lib" "${pkgdir}/usr/lib/portable"
	install -t "${pkgdir}/usr/share/portable" -Dm755 "${srcdir}/portable/share"/*
	install -vDm755 portable-pools "${pkgdir}/usr/bin/portable-pools"
	install -vDm755 portable-packer "${pkgdir}/usr/bin/portable-packer"
	cp -r "${srcdir}/portable/lib/modules-load.d" "${pkgdir}/usr/lib"
}