taizen: use cargo buildstyle
This commit is contained in:
parent
e7021342e2
commit
2293678fd3
1 changed files with 6 additions and 9 deletions
|
@ -1,23 +1,20 @@
|
||||||
# Template file for 'taizen'
|
# Template file for 'taizen'
|
||||||
pkgname=taizen
|
pkgname=taizen
|
||||||
version=0.0.0.20180808
|
version=0.0.0.20180808
|
||||||
revision=1
|
revision=2
|
||||||
_githash=39f77b5c1128d710b12244e433677daaf87c085e
|
_githash=39f77b5c1128d710b12244e433677daaf87c085e
|
||||||
wrksrc="${pkgname}-${_githash}"
|
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"
|
short_desc="Browse mediawiki pages from the command line"
|
||||||
maintainer="travankor <travankor@tuta.io>"
|
maintainer="travankor <travankor@tuta.io>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/NerdyPepper/taizen"
|
homepage="https://github.com/NerdyPepper/taizen"
|
||||||
distfiles="${homepage}/archive/${_githash}.tar.gz"
|
distfiles="${homepage}/archive/${_githash}.tar.gz"
|
||||||
checksum=7de71509bc2b4494af1e103ddb18e0eeafe0bd90c797d6cae343c44f583bfd15
|
checksum=7de71509bc2b4494af1e103ddb18e0eeafe0bd90c797d6cae343c44f583bfd15
|
||||||
nocross=yes
|
nocross="Attempts to run non-native binaries during build"
|
||||||
|
|
||||||
do_build() {
|
post_install () {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/${pkgname}
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue