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