blob: e35bdebecc620f1cc47bb2c06eb6d75365dd4fcf (
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
36
37
38
39
40
|
# Maintainer: KokaKiwi <kokakiwi+aur@kokakiwi.net>
pkgname=gleam-git
pkgver=0.7.0.r0.ga89f777
pkgrel=1
pkgdesc="A statically typed language for the Erlang VM"
arch=('x86_64')
license=('Apache')
url='https://github.com/gleam-lang/gleam'
makedepends=('rust')
depends=('erlang-nox')
provides=('gleam')
conflicts=('gleam')
options=(strip !docs !libtool !staticlibs)
source=('gleam::git://github.com/gleam-lang/gleam.git')
sha256sums=('SKIP')
pkgver() {
cd "gleam"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "gleam"
cargo build --release
}
check() {
cd "gleam"
cargo test
}
package() {
cd "gleam"
install -Dm0755 target/release/gleam "${pkgdir}"/usr/bin/gleam
}
|