summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5a7bd2a90e8a7c64be09aae501544715dcf71919 (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
# Maintainer: sixpindin <sixpindin@gmail.com>
pkgname=omnisharp-roslyn
pkgver=1.32.19
pkgrel=2
pkgdesc=".NET development platform based on on Roslyn workspaces."
arch=('x86_64')
url="https://github.com/OmniSharp/omnisharp-roslyn"
license=('MIT')
depends=('mono')
noextract=('$pkgname-$pkgver.tar.gz')
source=("$pkgname-$pkgver.tar.gz::https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v$pkgver/omnisharp-mono.tar.gz"
	"LICENSE::https://raw.githubusercontent.com/OmniSharp/omnisharp-roslyn/master/license.md")

package() {

#binaries
	  mkdir -p $pkgdir/opt/$pkgname
	  tar -xf $srcdir/$pkgname-$pkgver.tar.gz -C $pkgdir/opt/$pkgname

	  #setup permissions
	  chown -R root:root $pkgdir/opt/$pkgname
	  find $pkgdir/opt -type f | xargs chmod 644
	  find $pkgdir/opt -type d | xargs chmod 755
	  chmod 755 $pkgdir/opt/$pkgname/OmniSharp.exe

#license
	  install -D -m644 $srcdir/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
md5sums=('1400085a5e1503a7239746b982f83f79'
         '19a620e118d664537fb9dac578810f8d')