This commit is contained in:
xiota 2024-03-24 02:26:19 +00:00
parent 814b920774
commit aed32618a9
2 changed files with 30 additions and 23 deletions

View file

@ -1,15 +1,15 @@
pkgbase = powershell-editor-services pkgbase = powershell-editor-services
pkgdesc = A common platform for PowerShell development support in any editor or application! pkgdesc = A common platform for PowerShell development support in any editor or application
pkgver = 3.13.0 pkgver = 3.18.1
pkgrel = 1 pkgrel = 1
url = https://github.com/PowerShell/PowerShellEditorServices url = https://github.com/PowerShell/PowerShellEditorServices
install = powershell-editor-services.install install = powershell-editor-services.install
arch = x86_64 arch = x86_64
depends = powershell depends = powershell
noextract = PowerShellEditorServices-3.13.0.zip noextract = PowerShellEditorServices-3.18.1.zip
source = PowerShellEditorServices-3.13.0.zip::https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.13.0/PowerShellEditorServices.zip source = PowerShellEditorServices-3.18.1.zip::https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.18.1/PowerShellEditorServices.zip
source = LICENSE-3.13.0::https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/v3.13.0/LICENSE source = LICENSE-3.18.1::https://github.com/PowerShell/PowerShellEditorServices/raw/v3.18.1/LICENSE
sha256sums = c7f9e2b6faaa93e9198882844a7ac0ef6369d134b49db009cf29f7dfb5c2cc3e sha256sums = a3105b77da3ab88364e124e3d96348dead5d1299013523b03fa8855f7c23100a
sha256sums = 99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658 sha256sums = 99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658
pkgname = powershell-editor-services pkgname = powershell-editor-services

View file

@ -1,31 +1,38 @@
# Maintainer: clanger <virtualdemise at gmail dot com> # Maintainer:
# Contributor: clanger <virtualdemise at gmail dot com>
# Contributor: Aaron Coach <aur at ezpz dot cz> # Contributor: Aaron Coach <aur at ezpz dot cz>
pkgname=powershell-editor-services _pkgname="powershell-editor-services"
pkgver=3.13.0 pkgname="$_pkgname"
pkgver=3.18.1
pkgrel=1 pkgrel=1
pkgdesc='A common platform for PowerShell development support in any editor or application'
pkgdesc='A common platform for PowerShell development support in any editor or application!' url="https://github.com/PowerShell/PowerShellEditorServices"
url='https://github.com/PowerShell/PowerShellEditorServices'
arch=('x86_64') arch=('x86_64')
licence=('MIT') licence=('MIT')
depends=('powershell') depends=('powershell')
install="$pkgname".install install="$_pkgname.install"
source=("PowerShellEditorServices-$pkgver.zip::https://github.com/PowerShell/PowerShellEditorServices/releases/download/v$pkgver/PowerShellEditorServices.zip" _pkgsrc="PowerShellEditorServices-$pkgver"
"LICENSE-$pkgver::https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/v$pkgver/LICENSE") _pkgext="zip"
noextract=("PowerShellEditorServices-$pkgver.zip") noextract=("$_pkgsrc.$_pkgext")
sha256sums=('c7f9e2b6faaa93e9198882844a7ac0ef6369d134b49db009cf29f7dfb5c2cc3e' source=(
'99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658') "$_pkgsrc.$_pkgext"::"$url/releases/download/v$pkgver/PowerShellEditorServices.$_pkgext"
"LICENSE-$pkgver"::"$url/raw/v$pkgver/LICENSE"
)
sha256sums=(
'a3105b77da3ab88364e124e3d96348dead5d1299013523b03fa8855f7c23100a'
'99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658'
)
package() { package() {
mkdir -p "$pkgdir"/opt/powershell-editor-services mkdir -p "$pkgdir/opt/$_pkgname"
bsdtar -x -C "$pkgdir"/opt/powershell-editor-services \ bsdtar -x -C "$pkgdir/opt/$_pkgname" -f "$srcdir/$_pkgsrc.$_pkgext"
-f "$srcdir"/PowerShellEditorServices-$pkgver.zip
install -Dm0644 LICENSE-"$pkgver" \ install -Dm644 "LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
"$pkgdir"/usr/share/licences/powershell-editor-services/LICENSE
} }