blob: 1f2826e3c7f64be38f96496c7afcf39ea7be2cbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: qwjyh <urataw421 at gmail dot com>
# Contributor: clanger <virtualdemise at gmail dot com>
# Contributor: Aaron Coach <aur at ezpz dot cz>
_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"
}
|