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="
|
|
0fc47c25294a284ffcc9fc2440ac383c1b0796c75db9ee12902fc2614271bbb9a4abb9e42d2fa8d1ac5ff804acd251378b35d1b9aa4a00e2e9b927fa5c12c50c electron_tasje-0.5.7.tar.gz
|
|
"
|