summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af591e3af75c72735921ec2197bb526dfe5c16da (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
# Maintainer: Felice D'Angelo <felice.dangelo2013@gmail.com>
pkgname=clue
pkgver=3.4.7
pkgrel=1
pkgdesc="Clue is a programming language that compiles blazingly fast into Lua code with a syntax similar to languages like C or Rust."
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'arm')
url="https://github.com/ClueLang/Clue"
license=('MIT')
depends=()
makedepends=('cargo' 'rust')
checkdepends=()
optdepends=()
source=("git+https://github.com/ClueLang/Clue.git#tag=v${pkgver}")
noextract=()
sha256sums=('SKIP')

build() {
    cd "$srcdir/Clue"
    cargo build --release
}

package() {
    cd "$srcdir/Clue"
    install -Dm755 target/release/clue "$pkgdir/usr/bin/clue"
}