aports/testing/eludris/APKBUILD
2024-07-10 21:47:36 +02:00

34 lines
1.1 KiB
Text

# Contributor: Oliver Wilkes <oliverwilkes2006@icloud.com>
# Maintainer: Oliver Wilkes <oliverwilkes2006@icloud.com>
pkgname=eludris
pkgver=0.3.3
pkgrel=1
pkgdesc="Simple CLI to help you with setting up and managing your Eludris instance"
url="https://github.com/eludris/eludris/tree/main/cli"
# rust-ring
arch="all !ppc64le !s390x !riscv64 !loongarch64"
license="MIT"
makedepends="cargo cargo-auditable openssl-dev"
subpackages="$pkgname-doc"
source="eludris-$pkgver.tar.gz::https://github.com/eludris/eludris/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no cli tests right now
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked --manifest-path cli/Cargo.toml
}
build() {
cargo auditable build --frozen --release --bin eludris
}
package() {
install -Dm755 target/release/eludris -t "$pkgdir"/usr/bin/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
2f0d874620d1a28b8b29a688311b30206df20a92b3f637a364210297cce3bc4ca89066a2b71f317dc629b5bb1591c80b6226b977f26de8f3d1283ee50064c1a6 eludris-0.3.3.tar.gz
"