# Contributor: lauren n. liberda # Maintainer: lauren n. liberda pkgname=electron-tasje pkgver=0.7.1 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 OR MIT" makedepends="cargo cargo-auditable" source="electron_tasje-${_rev:-"$pkgver"}.tar.gz::https://codeberg.org/selfisekai/electron_tasje/archive/${_rev:-"v$pkgver"}.tar.gz" builddir="$srcdir/electron_tasje" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } check() { cargo test } package() { install -Dm755 target/release/tasje "$pkgdir"/usr/bin/tasje } sha512sums=" 665ccbd6cb357c25d55daed4ad3b3ce008da258054951d9d069a5b12e72dd5812d534f906868e6b18e78949f058069a961c394c6f21ab3b3fab5393c330445e5 electron_tasje-0.7.1.tar.gz "