commit 9ef227d719e68415df23e78b6a0e6e7ef3c07bc0 Author: potatoattack Date: Fri May 27 14:46:44 2022 +1000 initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a2bec48 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = powershell-editor-services + pkgdesc = A common platform for PowerShell development support in any editor or application! + pkgver = 3.4.2 + pkgrel = 1 + url = https://github.com/PowerShell/PowerShellEditorServices + install = powershell-editor-services.install + arch = x86_64 + depends = powershell + noextract = PowerShellEditorServices-3.4.2.zip + source = PowerShellEditorServices-3.4.2.zip::https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.4.2/PowerShellEditorServices.zip + source = LICENSE-3.4.2::https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/v3.4.2/LICENSE + sha256sums = 0e0fb728e6ce425ed9f2dfb1e6ead8d81e9cf4cc54e63ea122a80943da448c0e + sha256sums = 99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658 + +pkgname = powershell-editor-services diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..160180a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore +!PKGBUILD +!powershell-editor-services.install +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f04f437 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Aaron Coach + +pkgname=powershell-editor-services +pkgver=3.4.2 +pkgrel=1 + +pkgdesc='A common platform for PowerShell development support in any editor or application!' +url='https://github.com/PowerShell/PowerShellEditorServices' +arch=('x86_64') +licence=('MIT') +depends=('powershell') + +install="$pkgname".install + +source=("PowerShellEditorServices-$pkgver.zip::https://github.com/PowerShell/PowerShellEditorServices/releases/download/v$pkgver/PowerShellEditorServices.zip" + "LICENSE-$pkgver::https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/v$pkgver/LICENSE") + +noextract=("PowerShellEditorServices-$pkgver.zip") + +sha256sums=('0e0fb728e6ce425ed9f2dfb1e6ead8d81e9cf4cc54e63ea122a80943da448c0e' + '99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658') + +package() { + mkdir -p "$pkgdir"/opt/powershell-editor-services + bsdtar -x -C "$pkgdir"/opt/powershell-editor-services \ + -f "$srcdir"/PowerShellEditorServices-$pkgver.zip + + install -Dm0644 LICENSE-"$pkgver" \ + "$pkgdir"/usr/share/licences/powershell-editor-services/LICENSE +} diff --git a/powershell-editor-services.install b/powershell-editor-services.install new file mode 100644 index 0000000..95286df --- /dev/null +++ b/powershell-editor-services.install @@ -0,0 +1,5 @@ +post_install() { + echo "" + echo "To use PowerShell Editor Services set the bundle path to /opt/powershell-editor-services in your editor" + echo "" +}