1 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
2 # Maintainer: Caleb Maclennan <caleb@alerque.com>
7 pkgdesc='Blazing-fast modern Lua linter written in Rust'
9 url=https://github.com/Kampfkarren/selene
11 depends=('gcc-libs' 'openssl')
13 conflicts=("$pkgname-linter")
14 replaces=("$pkgname-linter")
16 source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
17 b2sums=('2760600beeb00cdea417a21d4e0d9017c1c91e073e3569db7264e87107acf3ac2e657b501e65b596ad5c703fd3cb4283cbba03eb0c5198d0cfd9af7a0cebca81')
21 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
26 cargo build --release --locked --offline
31 cargo test --locked --offline
36 install -Dt "$pkgdir"/usr/bin target/release/$pkgname
39 # vim:set ts=2 sw=2 et: