35 lines
964 B
Text
35 lines
964 B
Text
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
|
pkgname=electron-tasje
|
|
pkgver=0.7.0
|
|
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="
|
|
1f77dc8a5639c5e61952172b1b30c84cce41b5763d5ce96fa8fb2a02f8f8197a87dd3d9c047a90951d8ddc6f1542d8b0f8c33a3dad233d0868b82f19a765731d electron_tasje-0.7.0.tar.gz
|
|
"
|