diff options
author | Bart De Vries | 2023-03-10 21:34:54 +0100 |
---|---|---|
committer | Bart De Vries | 2023-03-10 21:34:54 +0100 |
commit | 7f044191d2b72cf22833f8373333d0d3130bc555 (patch) | |
tree | 134d289c2631fc3b4c4061a3afcc5e0fc36da300 | |
parent | 59044a5983226e3286f12fd3e39d4212c97a59d0 (diff) | |
download | aur-7f044191d2b72cf22833f8373333d0d3130bc555.tar.gz |
Restart systemd-binfmt on install and upgrade
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | box86-git.install | 11 |
3 files changed, 21 insertions, 4 deletions
@@ -1,8 +1,9 @@ pkgbase = box86-git pkgdesc = Linux Userspace x86 Emulator with a twist - pkgver = v0.2.4.r22.g4813a35e + pkgver = v0.3.0.r2.ga43884ff pkgrel = 1 url = https://github.com/ptitSeb/box86 + install = box86-git.install arch = armv7h license = MIT makedepends = git @@ -12,6 +13,8 @@ pkgbase = box86-git provides = box86 conflicts = box86 source = git+https://github.com/ptitSeb/box86.git#branch=master + source = box86-git.install sha256sums = SKIP + sha256sums = ecd38bdad06c256b2655bd4707d7b5248611073f751357424f2fc6327743e299 pkgname = box86-git @@ -2,19 +2,22 @@ _pkgname=box86 pkgname=${_pkgname}-git -pkgver=v0.2.4.r22.g4813a35e +pkgver=v0.3.0.r2.ga43884ff pkgrel=1 pkgdesc='Linux Userspace x86 Emulator with a twist' arch=('armv7h') url='https://github.com/ptitSeb/box86' license=('MIT') +install="box86-git.install" depends=('gcc-libs') #optdepends=('') makedepends=('git' 'cmake' 'python') provides=(box86) conflicts=(box86) -source=("git+https://github.com/ptitSeb/box86.git#branch=master") -sha256sums=('SKIP') +source=("git+https://github.com/ptitSeb/box86.git#branch=master" + "box86-git.install") +sha256sums=('SKIP' + 'ecd38bdad06c256b2655bd4707d7b5248611073f751357424f2fc6327743e299') pkgver() { cd ${_pkgname} diff --git a/box86-git.install b/box86-git.install new file mode 100644 index 000000000000..d04d65828da5 --- /dev/null +++ b/box86-git.install @@ -0,0 +1,11 @@ +#!/bin/sh + +post_install() { + echo ":: Restarting systemd-binfrmt" + systemctl restart systemd-binfmt +} + +post_upgrade() { + echo ":: Restarting systemd-binfrmt" + systemctl restart systemd-binfmt +} |