Last active
June 10, 2020 16:46
-
-
Save mystal/a0ceb945141d36e0d1bf64676d0d256e to your computer and use it in GitHub Desktop.
nushell-bin 0.15 PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jonathan Mast <[email protected]> | |
# Based on nushell package, but uses prebuilt binary | |
pkgname=nushell-bin | |
pkgver=0.15.0 | |
_underscoredpkgver=0_15_0 | |
pkgrel=2 | |
depends=('zlib' 'libxcb' 'openssl' 'libgit2') | |
optdepends=('libx11: for binaryview plugin') | |
arch=('i686' 'x86_64') | |
pkgdesc="A shell for the GitHub era" | |
conflicts=('nushell') | |
install=nushell-bin.install | |
source=("$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/releases/download/$pkgver/nu_${_underscoredpkgver}_linux.tar.gz" | |
"https://raw.githubusercontent.com/nushell/nushell/$pkgver/LICENSE") | |
url="http://nushell.sh" | |
license=('MIT') | |
sha256sums=('cf3ea9eae4629af2382108c25675977dd4875f1c3213be85c3e40de8bae83dfe' | |
'57fdb6634a2372af0978dd178f8e157f227d96f3ca27ae9c73f1320f6c0c41d4') | |
build() { | |
return 0 | |
} | |
package() { | |
install -dm755 "${pkgdir}/usr/bin/" | |
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | |
cd "$srcdir/nu_${_underscoredpkgver}_linux/nushell_${_underscoredpkgver}" | |
# Install nu and plugins into /usr/bin | |
cp nu "${pkgdir}/usr/bin/nu" | |
cp nu_plugin_* "${pkgdir}/usr/bin/" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment