taizen: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:03:49 +02:00 committed by Enno Boland
parent e7021342e2
commit 2293678fd3

View file

@ -1,23 +1,20 @@
# Template file for 'taizen'
pkgname=taizen
version=0.0.0.20180808
revision=1
revision=2
_githash=39f77b5c1128d710b12244e433677daaf87c085e
wrksrc="${pkgname}-${_githash}"
hostmakedepends="cargo libressl-devel pkg-config ncurses-devel"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel ncurses-devel"
short_desc="Browse mediawiki pages from the command line"
maintainer="travankor <travankor@tuta.io>"
license="MIT"
homepage="https://github.com/NerdyPepper/taizen"
distfiles="${homepage}/archive/${_githash}.tar.gz"
checksum=7de71509bc2b4494af1e103ddb18e0eeafe0bd90c797d6cae343c44f583bfd15
nocross=yes
nocross="Attempts to run non-native binaries during build"
do_build() {
cargo build --release ${makejobs}
}
do_install() {
vbin target/release/${pkgname}
post_install () {
vlicense LICENSE
}