2018-01-22 21:16:32 +00:00
|
|
|
# Template file for 'mdcat'
|
|
|
|
pkgname=mdcat
|
2018-01-30 21:38:30 +00:00
|
|
|
version=0.5.0
|
2018-01-22 21:16:32 +00: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-01-30 21:38:30 +00:00
|
|
|
checksum=206f724245203434c377d58b7042340cacbda97ffe62723574e0a59f92a660ff
|
2018-01-22 21:16:32 +00:00
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
2018-01-30 21:38:30 +00:00
|
|
|
do_check() {
|
|
|
|
cargo check --release
|
|
|
|
}
|
|
|
|
|
2018-01-22 21:16:32 +00:00
|
|
|
do_install() {
|
|
|
|
vbin target/release/${pkgname}
|
|
|
|
}
|