2024-05-02 00:58:27 +09:00
|
|
|
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
2024-03-24 11:26:19 +09:00
|
|
|
# Contributor: clanger <virtualdemise at gmail dot com>
|
2023-09-11 19:43:57 +09:00
|
|
|
# Contributor: Aaron Coach <aur at ezpz dot cz>
|
2022-05-27 13:46:44 +09:00
|
|
|
|
2024-03-24 11:26:19 +09:00
|
|
|
_pkgname="powershell-editor-services"
|
|
|
|
pkgname="$_pkgname"
|
2024-05-02 00:54:56 +09:00
|
|
|
pkgver=3.20.0
|
2022-05-27 13:46:44 +09:00
|
|
|
pkgrel=1
|
2024-03-24 11:26:19 +09:00
|
|
|
pkgdesc='A common platform for PowerShell development support in any editor or application'
|
|
|
|
url="https://github.com/PowerShell/PowerShellEditorServices"
|
2022-05-27 13:46:44 +09:00
|
|
|
arch=('x86_64')
|
2024-05-02 00:54:56 +09:00
|
|
|
license=('MIT')
|
2024-03-24 11:26:19 +09:00
|
|
|
|
2022-05-27 13:46:44 +09:00
|
|
|
depends=('powershell')
|
|
|
|
|
2024-03-24 11:26:19 +09:00
|
|
|
install="$_pkgname.install"
|
|
|
|
|
|
|
|
_pkgsrc="PowerShellEditorServices-$pkgver"
|
|
|
|
_pkgext="zip"
|
2022-05-27 13:46:44 +09:00
|
|
|
|
2024-03-24 11:26:19 +09:00
|
|
|
noextract=("$_pkgsrc.$_pkgext")
|
2022-05-27 13:46:44 +09:00
|
|
|
|
2024-03-24 11:26:19 +09:00
|
|
|
source=(
|
|
|
|
"$_pkgsrc.$_pkgext"::"$url/releases/download/v$pkgver/PowerShellEditorServices.$_pkgext"
|
|
|
|
"LICENSE-$pkgver"::"$url/raw/v$pkgver/LICENSE"
|
|
|
|
)
|
2022-05-27 13:46:44 +09:00
|
|
|
|
2024-05-02 00:54:56 +09:00
|
|
|
sha256sums=('52330b51d9df2b833784b7eb932767178dbef35407ad46a7c3389f9157df973f'
|
|
|
|
'99bc3308d3b5f2018c5d7af9239548c6853a01f08db0a1d9247d16be647c5658')
|
2022-05-27 13:46:44 +09:00
|
|
|
|
|
|
|
package() {
|
2024-03-24 11:26:19 +09:00
|
|
|
mkdir -p "$pkgdir/opt/$_pkgname"
|
|
|
|
bsdtar -x -C "$pkgdir/opt/$_pkgname" -f "$srcdir/$_pkgsrc.$_pkgext"
|
2022-05-27 13:46:44 +09:00
|
|
|
|
2024-03-24 11:26:19 +09:00
|
|
|
install -Dm644 "LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2022-05-27 13:46:44 +09:00
|
|
|
}
|