blob: 589212989a1018261382ba10941a0c87305c1104 (
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
|
# Maintainer: rawkode <david@rawkode.dev>
pkgname=fluxlang
pkgdir="pkg-build"
pkgdesc="InfluxData's Flux Language"
pkgver=0.28.3
pkgrel=1
arch=('i686' 'x86_64' 'arm64')
url="https://github.com/influxdata/flux"
license=('mit')
makedepends=('go' 'dep' 'make' 'ragel' 'ruby')
source=("https://github.com/influxdata/flux/archive/v$pkgver.tar.gz")
sha256sums=('b0332f395303578acda2fb8fb675c959c982588cd57861ceb8cd8881744293fd')
build() {
GOPATH=$startdir
rm -rf $GOPATH/pkg || true
cd "$srcdir/flux-$pkgver"
GO111MODULE=on go build ./cmd/flux
}
package() {
install -Dm 755 "$srcdir/flux-$pkgver/flux" "$pkgdir/usr/bin/flux"
}
|