From 739bb8aa080d357fdc52356a601ec8b8d6745649 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 00:57:14 +0200 Subject: [PATCH] hex: use cargo buildstyle --- srcpkgs/hex/template | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/srcpkgs/hex/template b/srcpkgs/hex/template index 05d20ac439a..99c83533b36 100644 --- a/srcpkgs/hex/template +++ b/srcpkgs/hex/template @@ -1,21 +1,15 @@ # Template file for 'hex' pkgname=hex version=0.1.2 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="Futuristic take on hexdump" maintainer="SolitudeSF " license="MIT" homepage="https://github.com/sitkevij/hex" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=36793a5b0c2be13974b8436952888cc0fad7651fdabd378749e9adc8518dcf1c -nocross=yes -do_build() { - cargo build --release ${makejobs} -} - -do_install() { - vbin target/release/hex +post_install() { vlicense LICENSE }