mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
36 lines
792 B
Plaintext
36 lines
792 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=ameba
|
|
pkgver=1.6.1
|
|
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="
|
|
c23d9d53c082a84f0c14bd1837f6d2b3b4a36be7d0bd9497161a9248a24616e557f934200b8b88819e104386e72981a0b14e9a4433e808ff439b8739f6f52ac1 ameba-1.6.1.tar.gz
|
|
"
|