mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 14:27:10 +02:00
testing/jotdown: new aport
This commit is contained in:
parent
14a3e11300
commit
ba76d0b9e7
27
testing/jotdown/APKBUILD
Normal file
27
testing/jotdown/APKBUILD
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Contributor: Andrej Kolchin <KAAtheWise@protonmail.com>
|
||||||
|
# Maintainer: Andrej Kolchin <KAAtheWise@protonmail.com>
|
||||||
|
pkgname=jotdown
|
||||||
|
pkgver=0.4.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="A parser for the Djot markup language"
|
||||||
|
url="https://hllmn.net/projects/jotdown/"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
makedepends="rust cargo cargo-auditable"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hellux/jotdown/archive/$pkgver.tar.gz"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cargo auditable build --release --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cargo test --release --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 target/release/jotdown "$pkgdir"/usr/bin/jotdown
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
237dcbd3ad047a35f4d19c7d4baa0a8de99fae9d79cc10a7e5716abf9a9a3a150e28106267525f0b65380020427214149c7a626880934c7311ec7e5a1be2c85a jotdown-0.4.0.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user