blob: 9e7930f91dddd5df4864b6c2685602333394d271 (
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
|
# Maintainer: csicar <aur@csicar.de>
pkgname=psgo-git
pkgver=0.0.1
pkgrel=1
pkgdesc="PureScript Go Compiler"
arch=(any)
url="https://github.com/andyarvanitis/purescript-native"
license=('BSD3')
depends=('go')
optdepends=()
makedepends=('stack')
source=('https://github.com/andyarvanitis/purescript-native/archive/golang.zip')
sha256sums=('SKIP')
build() {
cd $srcdir/purescript-native-golang
stack build
}
package() {
cd $srcdir/purescript-native-golang
install -Dm755 .stack-work/dist/*-linux-tinfo6/Cabal-*/build/psgo/psgo "$pkgdir/usr/bin/psgo"
install -Dm644 "$srcdir/purescript-native-golang/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|