# Maintainer: qwjyh # Contributor: clanger # Contributor: Aaron Coach _pkgname="powershell-editor-services" pkgname="$_pkgname" pkgver=3.20.0 pkgrel=1 pkgdesc='A common platform for PowerShell development support in any editor or application' url="https://github.com/PowerShell/PowerShellEditorServices" arch=('x86_64') license=('MIT') depends=('powershell') install="$_pkgname.install" _pkgsrc="PowerShellEditorServices-$pkgver" _pkgext="zip" noextract=("$_pkgsrc.$_pkgext") source=( "$_pkgsrc.$_pkgext"::"$url/releases/download/v$pkgver/PowerShellEditorServices.$_pkgext" "LICENSE-$pkgver"::"$url/raw/v$pkgver/LICENSE" ) sha256sums=('52330b51d9df2b833784b7eb932767178dbef35407ad46a7c3389f9157df973f' '99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658') package() { mkdir -p "$pkgdir/opt/$_pkgname" bsdtar -x -C "$pkgdir/opt/$_pkgname" -f "$srcdir/$_pkgsrc.$_pkgext" install -Dm644 "LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }