mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/edu-sync: new aport
https://github.com/mkroening/edu-sync Moodle synchronization utility
This commit is contained in:
parent
85eb1a71ae
commit
2b06369b6d
34
testing/edu-sync/APKBUILD
Normal file
34
testing/edu-sync/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Contributor: fossdd <fossdd@pwned.life>
|
||||
# Maintainer: fossdd <fossdd@pwned.life>
|
||||
pkgname=edu-sync
|
||||
pkgver=0.2.2
|
||||
pkgrel=0
|
||||
pkgdesc="Moodle synchronization utility"
|
||||
url="https://github.com/mkroening/edu-sync"
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
makedepends="cargo-auditable"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mkroening/edu-sync/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net" # downloading rust crates
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release --bin edu-sync-cli
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen --release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/edu-sync-cli -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3f40f6a8579cd69455ea484c458b85b6f3d2953385f7beed6583851c764c17e2c45c1e2ca4cccd121ac22da321ab48b47fdc5fa90dd1ead00cdc6029af521f37 edu-sync-0.2.2.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user