mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 14:04:43 +02:00
31 lines
811 B
Text
31 lines
811 B
Text
maintainer="Callum Andrew <contact@candrew.net>"
|
|
pkgname=bzmenu
|
|
pkgver=0.2.1
|
|
pkgrel=0
|
|
pkgdesc="Launcher-driven Bluetooth manager for Linux"
|
|
url="https://github.com/e-tho/bzmenu"
|
|
# s390x: fails to build nix crate
|
|
arch="all !s390x"
|
|
license="GPL-3.0-only"
|
|
depends="bluez"
|
|
makedepends="cargo cargo-auditable dbus-dev"
|
|
source="https://github.com/e-tho/bzmenu/archive/v$pkgver/bzmenu-$pkgver.tar.gz"
|
|
options="!check net" # no tests, fetch crates
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/bzmenu -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
1c30b48e07fbb5e03a6dac6f0eabd6f77361ebf2adc1754ef4cc372e460376c2c34c1c2185ad4204a2ead3e6f5d42dd435614c0a96a5fe4b4d161edee2463a7d bzmenu-0.2.1.tar.gz
|
|
"
|