Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=powershell-bin
- pkgver=7.0.0
- pkgrel=1
- pkgdesc='A cross-platform automation and configuration tool/framework (binary package)'
- arch=('x86_64')
- url='https://github.com/Powershell/Powershell'
- depends=('libunwind' 'icu' 'openssl-1.0')
- provides=('powershell')
- conflicts=('powershell')
- options=(staticlibs !strip)
- install=powershell.install
- source=("https://github.com/PowerShell/PowerShell/releases/download/v${pkgver}/powershell_${pkgver}-1.ubuntu.18.04_amd64.deb")
- sha256sums=('a28c95b376e6dd7ef0bf523b6bd329485948a53e27fd2e8b3dded6981471214c')
- package() {
- bsdtar xf data.tar.gz
- mv usr "${pkgdir}"
- mv opt "${pkgdir}"
- cd "${pkgdir}"
- cp -r usr/local/share usr
- rm -rf usr/local
- chmod 755 "opt/microsoft/powershell/${pkgver%%.*}/pwsh"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement