summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Price2016-08-18 23:15:18 +0100
committerWill Price2016-08-18 23:15:18 +0100
commitf0c42cdb06a48d7f044e8044ecddc05f4851a785 (patch)
tree76f1bc8541756ab4a36f2c7d30258bc49f7be6e5
parent509093f87df6911c1f5308b9c9aaa13b1d2cb07c (diff)
downloadaur-f0c42cdb06a48d7f044e8044ecddc05f4851a785.tar.gz
Fix powershell symlink
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD8
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77384bc4c5f..05143d9f3f0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
# Generated by mksrcinfo v8
-# Thu Aug 18 22:07:10 UTC 2016
+# Thu Aug 18 22:15:09 UTC 2016
pkgbase = powershell-bin
pkgdesc = PowerShell
pkgver = 6.0.0.alpha.9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/PowerShell/PowerShell
arch = any
license = MIT
depends = libunwind
depends = icu
+ provides = powershell
+ conflicts = powershell
+ conflicts = powershell-git
options = !strip
source = powershell-bin-6.0.0.alpha.9.rpm::https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
md5sums = daabe5b2dabf11d849a95b0d703075f9
diff --git a/PKGBUILD b/PKGBUILD
index 467cdaecaa6..db65fb51f72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=powershell-bin
pkgver=6.0.0.alpha.9
-pkgrel=1
+pkgrel=2
pkgdesc="PowerShell"
arch=('any')
url="https://github.com/PowerShell/PowerShell"
@@ -13,6 +13,8 @@ makedepends=('')
options=('!strip')
source=("${pkgname}-${pkgver}.rpm::https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm")
md5sums=('daabe5b2dabf11d849a95b0d703075f9')
+conflicts=('powershell' 'powershell-git')
+provides=('powershell')
package() {
echo "WARNING: DOES NOT CURRENTLY WORK"
@@ -21,8 +23,8 @@ package() {
cp -r usr/local/share \
"${pkgdir}/usr"
- cp -r opt/microsoft/powershell/6.0.0-alpha.9/ \
- "${pkgdir}/usr/share/powershell/"
+ cp -r opt/microsoft/powershell/6.0.0-alpha.9/* \
+ "${pkgdir}/usr/share/powershell"
ln -fs /usr/share/powershell/powershell \
"${pkgdir}/usr/bin/powershell"