summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a6638c4bea47fc74aa839bcac30f5859deeec88 (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: Matthias Mailänder <matthias at mailaender dot name>
# Contributor: Joseph R. Quinn <quinn period joseph r at protonmail dot com>
# Contributor: Brett Gilio <owner@brettgilio.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Mort Yao <soi@mort.ninja>
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=fsharp
pkgver=10.2.3
pkgrel=4
pkgdesc="The F# Compiler, Core Library & Tools (F# Software Foundation Repository)"
arch=('any')
url="https://fsharp.org"
license=('Apache')
depends=('mono>=4.0')
makedepends=('mono-msbuild')
options=('!strip')
source=("$pkgname-$pkgver.tar.gz::https://github.com/fsharp/fsharp/archive/$pkgver.tar.gz")
sha256sums=('527e4bad7a6d71668e905608c82db7c6eda44d9fd2ed9ce3c758e291e024cc4d')

build() {
  cd "$pkgname-$pkgver"
  make prefix=/usr
}

package() {
  cd "$pkgname-$pkgver"
  make prefix=/usr DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/fsharp/LICENSE"
}