mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/nushell: add install scripts
Signed-off-by: nibon7 <nibon7@163.com>
This commit is contained in:
parent
a32d2425ae
commit
f6276e5543
@ -2,13 +2,14 @@
|
||||
# Maintainer: nibon7 <nibon7@163.com>
|
||||
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"
|
||||
|
||||
|
||||
3
testing/nushell/nushell.post-install
Normal file
3
testing/nushell/nushell.post-install
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
add-shell '/usr/bin/nu'
|
||||
exit 0
|
||||
1
testing/nushell/nushell.post-upgrade
Symbolic link
1
testing/nushell/nushell.post-upgrade
Symbolic link
@ -0,0 +1 @@
|
||||
nushell.post-install
|
||||
3
testing/nushell/nushell.pre-deinstall
Normal file
3
testing/nushell/nushell.pre-deinstall
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
remove-shell '/usr/bin/nu'
|
||||
exit 0
|
||||
Loading…
x
Reference in New Issue
Block a user