36 lines
961 B
Text
36 lines
961 B
Text
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
pkgname=electron-tasje
|
|
pkgver=0.5.7
|
|
pkgrel=0
|
|
pkgdesc="Tiny replacement for electron-builder"
|
|
url="https://codeberg.org/selfisekai/electron_tasje/"
|
|
arch="aarch64 x86_64" # only useful on platforms with electron
|
|
license="Apache-2.0"
|
|
makedepends="cargo"
|
|
source="electron_tasje-$pkgver.tar.gz::https://codeberg.org/selfisekai/electron_tasje/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/electron_tasje"
|
|
|
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo build --frozen --release
|
|
}
|
|
|
|
check() {
|
|
cargo test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/tasje "$pkgdir"/usr/bin/tasje
|
|
}
|
|
|
|
sha512sums="
|
|
90649d6c7ac10edc6b50e9bfba54d5df472c0621768886fcdb039874152dbd2a72c1a23f38a5e25e4983f16f49546039eca2b79b9386f261b3c5d31a93c439f5 electron_tasje-0.5.7.tar.gz
|
|
"
|