From 138391646f7613d975c5c4125a4ebdde61ead122 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 00:53:28 +0200 Subject: [PATCH] miniserve: use cargo buildstyle --- srcpkgs/miniserve/template | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/srcpkgs/miniserve/template b/srcpkgs/miniserve/template index 6a21bd02f78..d4e9cd6daa1 100644 --- a/srcpkgs/miniserve/template +++ b/srcpkgs/miniserve/template @@ -1,8 +1,8 @@ # Template file for 'miniserve' pkgname=miniserve version=0.2.0 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="CLI tool to serve files and dirs over HTTP" maintainer="cr6git " license="MIT" @@ -10,14 +10,6 @@ homepage="https://github.com/svenstaro/miniserve" distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz" checksum=2a0d4c7563b3b1b75ba0cccc69236976dc916378a41e7f994e28f8a766bded4c -nocross="https://travis-ci.org/voidlinux/void-packages/jobs/380263119#L1158 - https://travis-ci.org/voidlinux/void-packages/jobs/380263118#L1167" - -do_build() { - cargo build --release ${makejobs} -} - -do_install() { - vbin target/release/miniserve +post_install() { vlicense LICENSE }