2023-11-24 17:57:44 +00:00
|
|
|
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
|
|
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
2023-04-15 02:48:48 +00:00
|
|
|
pkgname=electron-tasje
|
2024-11-01 13:59:36 +00:00
|
|
|
pkgver=0.7.3
|
2023-04-15 02:48:48 +00:00
|
|
|
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
|
2023-11-24 17:57:44 +00:00
|
|
|
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"
|
2023-04-15 02:48:48 +00:00
|
|
|
builddir="$srcdir/electron_tasje"
|
|
|
|
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2023-11-24 17:57:44 +00:00
|
|
|
cargo auditable build --frozen --release
|
2023-04-15 02:48:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cargo test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm755 target/release/tasje "$pkgdir"/usr/bin/tasje
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-11-01 13:59:36 +00:00
|
|
|
251b7eabe74acdb5c7394f9d4d735b736acf555352785a9896ddaeed37632b238e823e1bb639e1f5a44a50455957ec41e1a585a3b2a9919b5818bb40843bd877 electron_tasje-0.7.3.tar.gz
|
2023-04-15 02:48:48 +00:00
|
|
|
"
|