summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Sferrazza2017-10-26 14:00:22 -0400
committerKyle Sferrazza2017-10-26 14:00:22 -0400
commite4fb0e05f8df4f8058d1fa92b10197ccf1051d38 (patch)
treede3af0451eecb4ba9efe8bedc435085ae59e737a
parenta6b9e3aa6496ad2ca565cd77cebfe0e3c8f09e2b (diff)
downloadaur-e4fb0e05f8df4f8058d1fa92b10197ccf1051d38.tar.gz
beta 9
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD29
-rwxr-xr-xbuild.sh1
-rw-r--r--powershell.install4
4 files changed, 19 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c21a8a047d..247d55542ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = powershell
pkgdesc = A cross-platform automation and configuration tool/framework (latest release)
- pkgver = 6.0.0.beta.8
+ pkgver = 6.0.0.beta.9
pkgrel = 1
url = https://github.com/PowerShell/PowerShell
install = powershell.install
@@ -10,7 +10,7 @@ pkgbase = powershell
makedepends = cmake
makedepends = dotnet-sdk-2.0
depends = icu
- source = powershell::git+https://github.com/PowerShell/PowerShell.git#tag=v6.0.0-beta.8
+ source = powershell::git+https://github.com/PowerShell/PowerShell.git#tag=v6.0.0-beta.9
source = pester::git+https://github.com/PowerShell/psl-pester.git#branch=develop
source = googletest::git+https://github.com/google/googletest.git
source = build.sh
diff --git a/PKGBUILD b/PKGBUILD
index deebf2efa26..75584ec17b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
# Contributor: Max Liebkies <mail@maxliebkies.de>
pkgname=powershell
-_pkgver=6.0.0-beta.8
+binaryname=pwsh
+_pkgver=6.0.0-beta.9
pkgver=${_pkgver/-/.}
pkgrel=1
-pkgdesc="A cross-platform automation and configuration tool/framework (latest release)"
+pkgdesc='A cross-platform automation and configuration tool/framework (latest release)'
arch=('x86_64')
-url="https://github.com/PowerShell/PowerShell"
+url='https://github.com/PowerShell/PowerShell'
license=('MIT')
makedepends=('git' 'cmake' 'dotnet-sdk-2.0')
depends=('icu')
@@ -18,14 +19,14 @@ source=($pkgname::git+https://github.com/PowerShell/PowerShell.git#tag=v$_pkgver
md5sums=('SKIP'
'SKIP'
'SKIP'
- '4c096f1ce88fd387c9ec81f7ac0581ea')
+ '8f3cdd1186321e277b53bb8596746d03')
install=powershell.install
prepare() {
cd $pkgname
git submodule init
- git config submodule.src/Modules/Pester.url "$srcdir"/pester
- git config submodule.src/libpsl-native/test/googletest.url "$srcdir"/googletest
+ git config submodule.src/Modules/Pester.url $srcdir/pester
+ git config submodule.src/libpsl-native/test/googletest.url $srcdir/googletest
git submodule update
git clean -dfx
@@ -34,7 +35,7 @@ prepare() {
build() {
cd $pkgname
- "$srcdir"/build.sh
+ $srcdir/build.sh
}
check() {
@@ -45,13 +46,13 @@ check() {
package() {
cd $pkgname/src/powershell-unix
- mkdir -p "$pkgdir"/usr/lib/$pkgname
- cp -a bin/Linux/netcoreapp*/linux-x64 "$pkgdir"/usr/lib/$pkgname
- chmod 755 "$pkgdir"/usr/lib/$pkgname/linux-x64/$pkgname
+ mkdir -p $pkgdir/usr/lib/$pkgname
+ cp -a bin/Linux/netcoreapp*/linux-x64 $pkgdir/usr/lib/$pkgname
+ chmod 755 $pkgdir/usr/lib/$pkgname/linux-x64/$binaryname
- mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- cp ../../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ cp ../../LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
- mkdir -p "$pkgdir"/usr/bin
- ln -s /usr/lib/$pkgname/linux-x64/$pkgname "$pkgdir"/usr/bin/powershell
+ mkdir -p $pkgdir/usr/bin
+ ln -s /usr/lib/$pkgname/linux-x64/$binaryname $pkgdir/usr/bin/$binaryname
}
diff --git a/build.sh b/build.sh
index c49ae5bed85..d245c35e7ae 100755
--- a/build.sh
+++ b/build.sh
@@ -41,7 +41,6 @@ popd
pushd src/libpsl-native
cmake -DCMAKE_BUILD_TYPE=Debug .
make -j
-make test
popd
## Build powershell core
diff --git a/powershell.install b/powershell.install
index 53cc793aab9..d337b39409b 100644
--- a/powershell.install
+++ b/powershell.install
@@ -1,5 +1,5 @@
post_install() {
- grep -qe '^/usr/bin/powershell$' etc/shells || echo '/usr/bin/powershell' >> etc/shells
+ grep -qe '^/usr/bin/pwsh$' etc/shells || echo '/usr/bin/pwsh' >> etc/shells
}
post_upgrade() {
@@ -7,5 +7,5 @@ post_upgrade() {
}
pre_remove() {
- sed -ri '\|^/usr/bin/powershell$|d' etc/shells
+ sed -ri '\|^/usr/bin/pwsh$|d' etc/shells
}