blob: e694c6107f540f5e0c73ba55a5e2d75c64da7ca4 (
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
31
32
33
34
35
|
# Maintainer: Arnaud Berthomier <arnaud@cyprio.net>
pkgname=gleam
pkgver="1.6.2"
pkgrel=1
pkgdesc="A friendly language for building type-safe, scalable systems!"
arch=('any')
url="http://github.com/gleam-lang/gleam"
license=('Apache2')
depends=('erlang-nox')
makedepends=('rust')
provides=('gleam')
options=(strip !docs !libtool !staticlibs !lto)
source=("https://github.com/gleam-lang/gleam/archive/v${pkgver}.tar.gz")
sha256sums=('12db37408b69ef224d7d77fa6e7422124f6e8956419c48202de41ce182fb075d')
sha512sums=('7b47fef1436e2294f708039399ae7540b96086c10c75457abb7ed4e53f5791e786909515ad04070b5313338cfda0a0efcf719cafb40a6a5a0cc2539821d0662a')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
check() {
cd "$pkgname-$pkgver"
}
package() {
cd "$pkgname-$pkgver"
local basedir="${pkgdir}/usr/bin"
install -Dm755 "target/release/gleam" "${basedir}/gleam"
}
|