Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions pkgbuilds/aurora-bless/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
pkgname=aurora-bless
pkgver=0.4.4.aurora2
pkgrel=2
pkgver=0.4.4.aurora7
pkgrel=1
pkgdesc='Aurora Apple Silicon startup-volume selector with Neo NVRAM support'
arch=('aarch64')
groups=('omarchy-platform-apple-silicon')
url='https://github.com/aurora-silicon/aurora-bless'
license=('MIT')
_commit=727b5895db67bd40aa66c41485c6a8f482d2a917
_commit=8cbf35282c2170d7cdf7a805d803189d2b8e5954
depends=('glibc' 'gcc-libs')
provides=("asahi-bless=$pkgver")
conflicts=('asahi-bless')
replaces=('asahi-bless')
Expand All @@ -15,15 +16,15 @@ source=("aurora-bless::git+$url.git#commit=$_commit")
sha256sums=('SKIP')
build() {
cd aurora-bless
cargo build --locked --release -p asahi-bless ${CARGO_TARGET:+--target "$CARGO_TARGET"}
cargo build --locked --release -p aurora-bless ${CARGO_TARGET:+--target "$CARGO_TARGET"}
}
check() {
cd aurora-bless
cargo test --locked -p asahi-bless -p apple-nvram -p asahi-nvram
cargo test --locked -p aurora-bless -p apple-nvram -p aurora-nvram
}
package() {
local bin=aurora-bless/target/release/asahi-bless
if [[ -n ${CARGO_TARGET:-} ]]; then bin=aurora-bless/target/$CARGO_TARGET/release/asahi-bless; fi
local bin=aurora-bless/target/release/aurora-bless
if [[ -n ${CARGO_TARGET:-} ]]; then bin=aurora-bless/target/$CARGO_TARGET/release/aurora-bless; fi
install -Dm755 "$bin" "$pkgdir/usr/bin/aurora-bless"
ln -s aurora-bless "$pkgdir/usr/bin/asahi-bless"
install -Dm644 aurora-bless/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
Expand Down