# Maintainer: qwjyh # Contributor: clanger # Contributor: Aaron Coach _pkgname="powershell-editor-services" pkgname="$_pkgname" pkgver=3.20.1 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=('602ce70e07d7b6fa877996da0d1d70ca43d28964e8e9b586229e85f2ef496dd8' '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" }