summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Sferrazza2017-05-15 21:28:15 -0400
committerKyle Sferrazza2017-05-15 21:28:15 -0400
commitae58c24afc166a8aea279b9522a01ba6f321a9fe (patch)
tree979e5ced272b3ba94de88e8b69934b05e580c177
parentd1e82d4bcf09a97a9c3d477763122756e76bdf79 (diff)
downloadaur-ae58c24afc166a8aea279b9522a01ba6f321a9fe.tar.gz
permissions and link location
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19ce11a7c1c..e1f829d73d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = powershell
pkgdesc = A cross-platform automation and configuration tool/framework
pkgver = 6.0.0.alpha.18
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/PowerShell/PowerShell
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index c4c1e9d4505..8aeee78ee38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=powershell
_pkgver=6.0.0-alpha.18
pkgver=${_pkgver/-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="A cross-platform automation and configuration tool/framework"
arch=('x86_64')
url="https://github.com/PowerShell/PowerShell"
@@ -57,11 +57,11 @@ package() {
mkdir -p "$pkgdir"/usr/lib/$pkgname
cp -a bin/Linux/netcoreapp*/ubuntu.16.04-x64 "$pkgdir"/usr/lib/$pkgname
- chmod +x "$pkgdir"/usr/lib/$pkgname
+ chmod 755 "$pkgdir"/usr/lib/$pkgname/ubuntu.16.04-x64/$pkgname
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
cp ../../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
mkdir -p "$pkgdir"/usr/bin
- ln -s "$pkgdir"/usr/lib/$pkgname/ubuntu.16.04-x64/powershell "$pkgdir"/usr/bin/powershell
+ ln -s /usr/lib/$pkgname/ubuntu.16.04-x64/powershell "$pkgdir"/usr/bin/powershell
}