Include install-scripts

This commit is contained in:
2026-04-09 21:16:08 +02:00
parent c5383fd2c9
commit b01587e7b1
6 changed files with 30 additions and 49 deletions

View File

@@ -24,9 +24,7 @@ makedepends="
libnftnl-dev
"
checkdepends=""
# TODO: pre/post(de)install-scripts
#install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall"
install=""
install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade $pkgname.pre-deinstall $pkgname.post-deinstall"
subpackages="$pkgname-systemd"
source=""
builddir="$srcdir/"
@@ -49,10 +47,11 @@ build() {
# * Specify `--target` so that the final binary ends up in target/<target>/release.
cargo auditable build --release --locked \
--target "$CHOST" \
-p mullvad-daemon \
-p mullvad-cli \
-p mullvad-daemon \
-p mullvad-exclude \
-p mullvad-problem-report
-p mullvad-problem-report \
-p mullvad-setup
}
check() {