# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=ameba pkgver=1.5.0 pkgrel=0 pkgdesc="static code analysis tool for Crystal" url="https://github.com/crystal-ameba/ameba" # others: blocked by crystal arch="x86_64 aarch64" license="MIT" makedepends=" crystal libxml2-dev shards yaml-dev " source="https://github.com/veelenga/ameba/archive/v$pkgver/ameba-$pkgver.tar.gz " export CRYSTAL_CACHE_DIR="$srcdir/.cache" build() { make CRFLAGS="--release" } check() { make test SPEC_FLAGS="--no-color" } package() { make CRFLAGS="--release" install PREFIX="$pkgdir/usr" } sha512sums=" 9dfc6470452a007b7c77079764cf15d00e58bbcd1bce2b3775fc77a94502e33a043249d95caa2f729a6beb3c9bdfe2cd1046ee9518c5ba985a7d16129f68dfad ameba-1.5.0.tar.gz "