summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaltazár Radics2021-01-19 09:32:58 +0100
committerBaltazár Radics2021-01-19 09:32:58 +0100
commitde6511f7ac20bee6efa72682ac7c6870692f3b1d (patch)
tree8d764cc133c96c62e97bcbf6c3aec8a668714799
downloadaur-de6511f7ac20bee6efa72682ac7c6870692f3b1d.tar.gz
init
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
-rwxr-xr-xomnisharp.sh3
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7125166f4a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = omnisharp-roslyn-bin
+ pkgdesc = OmniSharp server (STDIO) based on Roslyn workspaces
+ pkgver = 1.37.5
+ pkgrel = 1
+ url = https://github.com/OmniSharp/omnisharp-roslyn
+ arch = x86_64
+ license = MIT
+ depends = mono
+ provides = omnisharp-roslyn
+ conflicts = omnisharp-roslyn
+ source = omnisharp-mono-1.37.5.tar.gz::https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.37.5/omnisharp-mono.tar.gz
+ source = omnisharp.sh
+ sha256sums = ba5626c75d9855fca6b1043cbe2a157223076441e600264bcb4547e4815b48c4
+ sha256sums = 784a5643fde85bbec73f329b0bff1589451f7d976df3087e6667ad60a1768da9
+
+pkgname = omnisharp-roslyn-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e3a37934f44
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Baltazár Radics <baltazar.radics@gmail.com>
+pkgname=omnisharp-roslyn-bin
+pkgver=1.37.5
+pkgrel=1
+pkgdesc='OmniSharp server (STDIO) based on Roslyn workspaces'
+arch=(x86_64)
+url='https://github.com/OmniSharp/omnisharp-roslyn'
+license=(MIT)
+depends=(mono)
+provides=(${pkgname%-bin})
+conflicts=(${pkgname%-bin})
+source=(
+ "omnisharp-mono-$pkgver.tar.gz::https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v$pkgver/omnisharp-mono.tar.gz"
+ 'omnisharp.sh'
+)
+sha256sums=('ba5626c75d9855fca6b1043cbe2a157223076441e600264bcb4547e4815b48c4'
+ '784a5643fde85bbec73f329b0bff1589451f7d976df3087e6667ad60a1768da9')
+
+package() {
+ install -Dm755 *.dll *.exe -t"$pkgdir"/usr/lib/omnisharp
+ install -Dm644 OmniSharp.deps.json -t"$pkgdir"/usr/lib/omnisharp
+ install -Dm755 omnisharp.sh "$pkgdir"/usr/bin/omnisharp
+ install -Dm644 license.md "$pkgdir"/usr/share/licenses/omnisharp/license.md
+}
diff --git a/omnisharp.sh b/omnisharp.sh
new file mode 100755
index 00000000000..dcb8e606147
--- /dev/null
+++ b/omnisharp.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec mono /usr/lib/omnisharp/OmniSharp.exe "$@"