2018-01-22 22:16:32 +01:00
|
|
|
# Template file for 'mdcat'
|
|
|
|
pkgname=mdcat
|
2018-02-02 20:59:38 +01:00
|
|
|
version=0.6.0
|
2018-01-22 22:16:32 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc=${pkgname}-${pkgname}-${version}
|
|
|
|
hostmakedepends="cargo cmake"
|
|
|
|
short_desc="Cat for markdown"
|
|
|
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
|
|
|
license="Apache License 2.0"
|
|
|
|
homepage="https://github.com/lunaryorn/mdcat"
|
|
|
|
distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz"
|
2018-02-02 20:59:38 +01:00
|
|
|
checksum=bcc05615f6aeea1a406a481502abb12add62ac12c7f140bfe4430cda78039bb3
|
2018-01-22 22:16:32 +01:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
2018-01-30 22:38:30 +01:00
|
|
|
do_check() {
|
|
|
|
cargo check --release
|
|
|
|
}
|
|
|
|
|
2018-01-22 22:16:32 +01:00
|
|
|
do_install() {
|
|
|
|
vbin target/release/${pkgname}
|
|
|
|
}
|