blob: 340e45cf17287164300751659884d234a29cff73 (
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.3"
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=('533498a9915439b2ca61570f453b2079874378e0ae0a890a43fc1f9b3c587197')
sha512sums=('29bf39f5113f1c0e979788c435cbea0683d5d31836464673c008d9ae042d82876687d72dae6980892b1936606452af326943af6c2b181ba4ad5e63eb37aeeea3')
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"
}
|