From 2293678fd3ebde8112eb57fe9f834466ee02a0d2 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:03:49 +0200 Subject: [PATCH] taizen: use cargo buildstyle --- srcpkgs/taizen/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/taizen/template b/srcpkgs/taizen/template index 7b5b71772a..3c33c9f5a0 100644 --- a/srcpkgs/taizen/template +++ b/srcpkgs/taizen/template @@ -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 " 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 }