Package Details: powershell-bin 7.4.6-1

Git Clone URL: https://aur.archlinux.org/powershell-bin.git (read-only, click to copy)
Package Base: powershell-bin
Description: A cross-platform automation and configuration tool/framework (binary package)
Upstream URL: https://github.com/Powershell/Powershell
Licenses: MIT
Conflicts: powershell
Provides: powershell
Submitter: thamerla
Maintainer: kylesferrazza (carsme)
Last Packager: carsme
Votes: 64
Popularity: 0.93
First Submitted: 2017-05-07 11:30 (UTC)
Last Updated: 2024-10-23 06:20 (UTC)

Required by (7)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

kylesferrazza commented on 2020-06-12 15:31 (UTC)

Sorry for the delay, updated.

jthompson333 commented on 2020-06-08 15:18 (UTC)

Are there any plans to get this on the current powershell 7 stable? I might be able to help, however, I confess I haven't done an aur package in a long time...

cfinnberg commented on 2020-06-06 19:43 (UTC)

This has been flagged out-of-date three weeks ago. Is the maintainer still around?

skinnymatt commented on 2020-03-13 12:13 (UTC)

This worked for me, using the .tar.gz source, rather than the .deb package:

package() {
  mkdir -p ${pkgdir}/usr/local/lib/powershell
  cp -r ${srcdir}/* ${pkgdir}/usr/local/lib/powershell

  mkdir -p ${pkgdir}/usr/local/bin
  ln -s /usr/local/lib/powershell/pwsh ${pkgdir}/usr/local/bin/pwsh
}

ImNtReal commented on 2020-03-11 20:00 (UTC)

This worked for me for 7.0.0: https://pastebin.com/HXw9nLrq

agowa commented on 2020-03-07 23:45 (UTC) (edited on 2020-03-07 23:46 (UTC) by agowa)

For powershell 7:

  • changed dependencies

  • use _pkgver var for detecting major version

  • use sha256 for validation, as that is also printed on the releases page on github.

diff --git a/PKGBUILD b/PKGBUILD
index fd1524c..156c217 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,19 @@
 # Contributor: Tomasz Hamerla <tomasz.hamerla@outlook.com>

 pkgname=powershell-bin
-_pkgver=6.2.4
+_pkgver=7.0.0
 pkgver=${_pkgver/-/.}
 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')
+depends=('krb5' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl-1.0' 'icu')
 provides=('powershell')
 conflicts=('powershell')
 options=(staticlibs !strip)
 install=powershell.install
-md5sums=('1fef408b721bec199952fb6d2608425a')
-source=("https://github.com/PowerShell/PowerShell/releases/download/v${_pkgver}/powershell_${_pkgver}-1.ubuntu.16.04_amd64.deb")
+sha256sums=('A28C95B376E6DD7EF0BF523B6BD329485948A53E27FD2E8B3DDED6981471214C')
+source=("https://github.com/PowerShell/PowerShell/releases/download/v${_pkgver}/powershell_${_pkgver}-1.ubuntu.18.04_amd64.deb")

 package() {
   bsdtar xf data.tar.gz
@@ -26,5 +26,5 @@ package() {
   cp -r usr/local/share usr
   rm -rf usr/local

-  chmod 755 "opt/microsoft/powershell/6/pwsh"
+  chmod 755 "opt/microsoft/powershell/${_pkgver:0:1}/pwsh"
 }

Orionis commented on 2020-02-05 11:24 (UTC) (edited on 2020-02-05 12:33 (UTC) by Orionis)

Considering it has been flagged as out-of-date, perhaps it is time to update to 6.2.4?

https://github.com/PowerShell/PowerShell/releases/download/v6.2.4/powershell_6.2.4-1.ubuntu.16.04_amd64.deb

kylesferrazza commented on 2019-05-09 17:05 (UTC)

@hvksmr1996

The .tar.gz is missing the "pwsh" manual page.