backports/electron-tasje: use cargo-auditable

This commit is contained in:
Antoine Martin 2023-08-30 09:45:19 -04:00
parent ddad2619dc
commit 8966c60d82
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -2,16 +2,15 @@
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
pkgname=electron-tasje
pkgver=0.5.7
pkgrel=0
pkgrel=1
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"
makedepends="cargo cargo-auditable"
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
@ -20,7 +19,7 @@ prepare() {
}
build() {
cargo build --frozen --release
cargo auditable build --frozen --release
}
check() {