mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/rustical: new aport
Signed-off-by: Tuan Anh Tran <me@tuananh.org>
This commit is contained in:
parent
218ae1cec8
commit
d187e330d7
1 changed files with 39 additions and 0 deletions
39
testing/rustical/APKBUILD
Normal file
39
testing/rustical/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Contributor: Tuan Anh Tran <me@tuananh.org>
|
||||||
|
# Maintainer: Tuan Anh Tran <me@tuananh.org>
|
||||||
|
pkgname=rustical
|
||||||
|
pkgver=0.4.11
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="A calendar server aiming to be simple, fast and passwordless"
|
||||||
|
url="https://github.com/lennart-k/rustical"
|
||||||
|
arch="all"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
makedepends="
|
||||||
|
cargo
|
||||||
|
cargo-auditable
|
||||||
|
perl
|
||||||
|
openssl-dev
|
||||||
|
"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/lennart-k/rustical/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
|
|
||||||
|
export OPENSSL_NO_VENDOR=true
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
cargo fetch --target="$CTARGET" --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cargo auditable build --release --frozen
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cargo test --release --frozen
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 "$builddir"/target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
66ffd2a65711d93bd6b3bc74d9a21cff4adfec639f7391d701003fd3cbebeac3cc147e82897447763b531ad8d94c47d95b0878eb881c4e68abd77db31fa4ac5f rustical-0.4.11.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue