summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Price2016-08-18 23:06:30 +0100
committerWill Price2016-08-18 23:07:15 +0100
commit509093f87df6911c1f5308b9c9aaa13b1d2cb07c (patch)
treec07e930448266624176967b163ca2bf63b1fedce
parentd01c01726976e1025ee0ff20a3a8d7d580310cf1 (diff)
downloadaur-509093f87df6911c1f5308b9c9aaa13b1d2cb07c.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 26 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e30e297f4c..77384bc4c5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
# Generated by mksrcinfo v8
-# Thu Aug 18 20:37:05 UTC 2016
-pkgbase = powershell
+# Thu Aug 18 22:07:10 UTC 2016
+pkgbase = powershell-bin
pkgdesc = PowerShell
- pkgver = 6.0.0-alpha.9
+ pkgver = 6.0.0.alpha.9
pkgrel = 1
url = https://github.com/PowerShell/PowerShell
arch = any
license = MIT
+ depends = libunwind
+ depends = icu
options = !strip
- source = powershell-6.0.0-alpha.9.deb::https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
- sha256sums = 1ddbeee47cf49383fd486853384ba97024a539457fcbdfa355716914fd44d75d
+ 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
-pkgname = powershell
+pkgname = powershell-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8554c541970..467cdaecaa6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,29 @@
-# Maintainer: Grigorii Horos <horosgrisa@gmail.com>
+# Original Author: Grigorii Horos <horosgrisa@gmail.com>
+# Maintainer: Will Price <will.price94@gmail.com>
-pkgname=powershell
+pkgname=powershell-bin
pkgver=6.0.0.alpha.9
pkgrel=1
pkgdesc="PowerShell"
arch=('any')
url="https://github.com/PowerShell/PowerShell"
license=('MIT')
-depends=()
-makedepends=()
+depends=('libunwind' 'icu')
+makedepends=('')
options=('!strip')
-source=("${pkgname}-${pkgver}.deb::https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb")
-sha256sums=('1ddbeee47cf49383fd486853384ba97024a539457fcbdfa355716914fd44d75d')
+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')
package() {
- true
+ echo "WARNING: DOES NOT CURRENTLY WORK"
+ mkdir -p "${pkgdir}/usr/bin"
+ mkdir -p "${pkgdir}/usr/share/powershell"
+
+ cp -r usr/local/share \
+ "${pkgdir}/usr"
+ cp -r opt/microsoft/powershell/6.0.0-alpha.9/ \
+ "${pkgdir}/usr/share/powershell/"
+
+ ln -fs /usr/share/powershell/powershell \
+ "${pkgdir}/usr/bin/powershell"
}
-