summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago França da Silva2021-09-29 22:22:36 -0300
committerThiago França da Silva2021-09-29 22:22:36 -0300
commit1bdedaa45890a96ea7a939986f5213a020f698b0 (patch)
tree8e8527f167eebb77209afb6de747e5fd6acb77cc
parent097437eda3bfa67513becb22c1ef01dc62190781 (diff)
downloadaur-powershell-preview-bin.tar.gz
Version 7.2.0-preview.10
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD18
3 files changed, 20 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a557aa85c9d..4c123629cd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = powershell-preview-bin
pkgdesc = A cross-platform automation and configuration tool/framework (binary preview package)
- pkgver = 7.2.0.preview.9
+ pkgver = 7.2.0.preview.10
pkgrel = 1
url = https://github.com/Powershell/Powershell
install = powershell-preview.install
@@ -15,8 +15,7 @@ pkgbase = powershell-preview-bin
provides = powershell
options = staticlibs
options = !strip
- source = https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.9/powershell-preview_7.2.0-preview.9-1.deb_amd64.deb
- sha256sums = 7A28A1D06C3790F9CB1B5FE7BF5DF1A72BF01F8DCAA9BED1C53656739D53C64C
+ source = https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.10/powershell-preview_7.2.0-preview.10-1.deb_amd64.deb
+ sha256sums = 28434376D4A14F42805578D49C08D85611DE8D2984B868C8317BCA2E68D33434
pkgname = powershell-preview-bin
-
diff --git a/.gitignore b/.gitignore
index 7be8c3ca246..d98b17b87bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ powershell*.pkg.*
powershell*.deb
pkg
src
+*.tar.gz \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 646fa2e6ae7..073e9dbb804 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Thiago França da Silva <tfsthiagobr98@outlook.com>
pkgname=powershell-preview-bin
-_pkgver=7.2.0-preview.9
+_pkgver=7.2.0-preview.10
_version=7-preview
pkgver=${_pkgver/-/.}
pkgrel=1
@@ -12,8 +12,17 @@ depends=('krb5' 'gcc-libs' 'glibc' 'lttng-ust' 'zlib' 'openssl' 'icu')
provides=('powershell')
options=(staticlibs !strip)
install=powershell-preview.install
-sha256sums=('7A28A1D06C3790F9CB1B5FE7BF5DF1A72BF01F8DCAA9BED1C53656739D53C64C')
source=("https://github.com/PowerShell/PowerShell/releases/download/v${_pkgver}/powershell-preview_${_pkgver}-1.deb_amd64.deb")
+sha256sums=('28434376D4A14F42805578D49C08D85611DE8D2984B868C8317BCA2E68D33434')
+
+# omi fix (details here https://github.com/jborean93/omi/): not tested, feedback needed
+# comment the two lines above and uncomment these lines down here
+#source=(
+# "https://github.com/PowerShell/PowerShell/releases/download/v${_pkgver}/powershell-preview_${_pkgver}-1.deb_amd64.deb"
+# "https://github.com/jborean93/omi/releases/download/v2.2.1-pwsh/glibc-1.1.tar.gz"
+#)
+#sha256sums=('7a28a1d06c3790f9cb1b5fe7bf5df1a72bf01f8dcaa9bed1c53656739d53c64c'
+# '28434376D4A14F42805578D49C08D85611DE8D2984B868C8317BCA2E68D33434')
package() {
bsdtar xf data.tar.gz
@@ -21,6 +30,11 @@ package() {
mv usr "${pkgdir}"
mv opt "${pkgdir}"
+ # also omi fix
+ #cp -f libmi.so ${pkgdir}/opt/microsoft/powershell/$_version/libmi.so
+ #cp -f libpsrpclient.so ${pkgdir}/opt/microsoft/powershell/$_version/libpsrpclient.so
+ #chmod 644 ${pkgdir}/opt/microsoft/powershell/$_version/libmi.so ${pkgdir}/opt/microsoft/powershell/$_version/libpsrpclient.so
+
cd "${pkgdir}"
cp -r usr/local/share usr
rm -rf usr/local