backports/electron-tasje: new aport
This commit is contained in:
parent
d46421528b
commit
a99be505ee
1 changed files with 36 additions and 0 deletions
36
backports/electron-tasje/APKBUILD
Normal file
36
backports/electron-tasje/APKBUILD
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
|
||||||
|
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
|
||||||
|
pkgname=electron-tasje
|
||||||
|
pkgver=0.5.7
|
||||||
|
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"
|
||||||
|
makedepends="cargo"
|
||||||
|
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
|
||||||
|
|
||||||
|
cargo fetch --target="$CTARGET" --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cargo build --frozen --release
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cargo test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 target/release/tasje "$pkgdir"/usr/bin/tasje
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
90649d6c7ac10edc6b50e9bfba54d5df472c0621768886fcdb039874152dbd2a72c1a23f38a5e25e4983f16f49546039eca2b79b9386f261b3c5d31a93c439f5 electron_tasje-0.5.7.tar.gz
|
||||||
|
"
|
Loading…
Reference in a new issue