aports/testing/dotenv-linter/APKBUILD
Celeste dfe581058a testing/dotenv-linter: disable on loongarch64
found libc 0.2.112, support for loongarch64 added in 0.2.154
2024-07-12 02:11:38 +00:00

34 lines
872 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=dotenv-linter
pkgver=3.3.0
pkgrel=1
pkgdesc="Lightning-fast linter for .env files"
url="https://dotenv-linter.github.io"
arch="all !s390x !ppc64le !riscv64 !loongarch64" # rust/rustls
license="MIT"
makedepends="cargo cargo-auditable"
source="https://github.com/dotenv-linter/dotenv-linter/archive/refs/tags/v$pkgver/dotenv-linter-$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/dotenv-linter -t "$pkgdir"/usr/bin
}
sha512sums="
e25fbd98f6c688921b67a83aac13adbb925e535bef9976257b451ad7c285ffd47b2ec7bd42686d718e1d3d7b810f4e2abde04a2aa5edf10b3a8e1334ffe0d7d9 dotenv-linter-3.3.0.tar.gz
"