diff --git a/testing/nushell/APKBUILD b/testing/nushell/APKBUILD index 2828ef7ff72..67e5279fa5d 100644 --- a/testing/nushell/APKBUILD +++ b/testing/nushell/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: nibon7 pkgname=nushell pkgver=0.40.0 -pkgrel=0 +pkgrel=1 pkgdesc="A new type of shell" url="https://www.nushell.sh" # s390x, mips, mips64: limited by cargo arch="all !s390x !mips !mips64 !riscv64" license="MIT" makedepends="cargo pkgconf openssl1.1-compat-dev libx11-dev libxcb-dev libgit2-dev python3" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" source="$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz 0001-remove-dataframe-feature-from-default.patch" diff --git a/testing/nushell/nushell.post-install b/testing/nushell/nushell.post-install new file mode 100644 index 00000000000..ddf9b4d4e56 --- /dev/null +++ b/testing/nushell/nushell.post-install @@ -0,0 +1,3 @@ +#!/bin/sh +add-shell '/usr/bin/nu' +exit 0 diff --git a/testing/nushell/nushell.post-upgrade b/testing/nushell/nushell.post-upgrade new file mode 120000 index 00000000000..a023e4e9338 --- /dev/null +++ b/testing/nushell/nushell.post-upgrade @@ -0,0 +1 @@ +nushell.post-install \ No newline at end of file diff --git a/testing/nushell/nushell.pre-deinstall b/testing/nushell/nushell.pre-deinstall new file mode 100644 index 00000000000..8ea90c0456f --- /dev/null +++ b/testing/nushell/nushell.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh +remove-shell '/usr/bin/nu' +exit 0