mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 15:01:44 +01:00
28 lines
747 B
Plaintext
28 lines
747 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=ameba
|
|
pkgver=0.14.3
|
|
pkgrel=0
|
|
pkgdesc="static code analysis tool for Crystal"
|
|
url="https://github.com/crystal-ameba/ameba"
|
|
arch="x86_64 aarch64"
|
|
license="MIT"
|
|
makedepends="crystal libxml2-dev shards yaml-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/veelenga/ameba/archive/v$pkgver.tar.gz"
|
|
|
|
export CRYSTAL_CACHE_DIR="$srcdir/.cache"
|
|
|
|
build() {
|
|
make CRFLAGS="--release"
|
|
}
|
|
|
|
check() {
|
|
make test SPEC_FLAGS="--no-color"
|
|
}
|
|
|
|
package() {
|
|
make install PREFIX="$pkgdir/usr"
|
|
}
|
|
|
|
sha512sums="830d71a74bb76c8ed0ee96f0a9363fb3ee7d8eb080a6b8fe07d5e79393e570666f49ac84296d40d77e35c26d0f3d8ad03298e90581bbefd0ac2f45ceb04b969a ameba-0.14.3.tar.gz"
|