mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
for some reason some symbols are weird in this release. keep it, but just rebuild everything https://gitlab.gnome.org/GNOME/libxml2/-/issues/526
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=ameba
|
|
pkgver=1.4.3
|
|
pkgrel=3
|
|
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
|
|
$pkgname-new-severity.patch::https://github.com/crystal-ameba/ameba/commit/c7f2cba409787a1928fbb54494b4645ec11005cc.patch
|
|
"
|
|
|
|
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="
|
|
983477d4c2987b1aba2f15f12254317630da2acda66591807763806d5b7b5b4fa6955deecd78d4db35bbd67f9ad64e8157ef45c9e144e713c361a3bedb388ec4 ameba-1.4.3.tar.gz
|
|
0e7a78b60749c3eda7c4034438334ed36832e97439399d02e1c606b02465c03f035af74a278ac0995eeb31053a4580bea268bd06928ff4f18456792dea6b25ba ameba-new-severity.patch
|
|
"
|