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
|
2023-11-24 17:57:44 +00:00
|
|
|
pkgver=0.7.0
|
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="
|
2023-11-24 17:57:44 +00:00
|
|
|
1f77dc8a5639c5e61952172b1b30c84cce41b5763d5ce96fa8fb2a02f8f8197a87dd3d9c047a90951d8ddc6f1542d8b0f8c33a3dad233d0868b82f19a765731d electron_tasje-0.7.0.tar.gz
|
2023-04-15 02:48:48 +00:00
|
|
|
"
|