summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 281c6aed36cc8d558447f6c62094099688c75a3f (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: Joseph R. Quinn <quinn dot josephr at protonmail dot com>

pkgname='fsharp-git'
pkgver=10.2.3.r6.g24c798bfc
pkgrel=1
pkgdesc='The F# Compiler, Core Library & Tools (F# Software Foundation Repository) - Git Version'
arch=('any')
url='https://fsharp.org/'
license=('MIT')
depends=('mono>=6.0' 'msbuild>=15')
makedepends=('git')
provides=('fsharp')
conflicts=('fsharp')
source=("$pkgname::git+https://github.com/fsharp/fsharp")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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

package() {
  cd "$pkgname"
  make prefix='/usr' DESTDIR="$pkgdir" install
}