From 9647d1e4fa8a53d6804aecc01531ce0fa2c1d8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 24 Jun 2021 18:34:06 +0700 Subject: [PATCH] ternimal: fix license --- srcpkgs/ternimal/template | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/srcpkgs/ternimal/template b/srcpkgs/ternimal/template index 0d703f919b2..8ab9189e081 100644 --- a/srcpkgs/ternimal/template +++ b/srcpkgs/ternimal/template @@ -1,27 +1,21 @@ # Template file for 'ternimal' pkgname=ternimal version=0.1.0 -revision=1 +revision=2 hostmakedepends="rust" -maintainer="Orphaned " +makedepends="rust-std" short_desc="Simulate a lifeform in the terminal" +maintainer="Orphaned " +license="GPL-3.0-only" homepage="https://github.com/p-e-w/ternimal" -license="GPL-3" distfiles="https://github.com/p-e-w/ternimal/archive/v${version}.tar.gz" checksum=4d37f49a35de5ac23d88a61180d663ba3c2da089418818a588de31f9e920f8d6 -# I have no idea how to fix this -# /usr/bin/armv7l-linux-musleabihf-strip:/destdir/armv7l-linux-musleabihf/ternimal-20171104/usr/bin/ternimal: File format not recognized -# => ERROR: ternimal-20171104_1: failed to run post-install_06-strip-and-debug-pkgs() at line 113. -# => ERROR: ternimal-20171104_1: failed to run post-install_06-strip-and-debug-pkgs() at line 58. - -# /usr/bin/aarch64-linux-musl-strip: Unable to recognise the format of the input file /destdir/aarch64-linux-musl/ternimal-20171104/usr/bin/ternimal -# => ERROR: ternimal-20171104_1: failed to run post-install_06-strip-and-debug-pkgs() at line 113. -# => ERROR: ternimal-20171104_1: failed to run post-install_06-strip-and-debug-pkgs() at line 58. -nocross=yes - do_build() { - rustc -O ternimal.rs + rustc --target $RUST_TARGET \ + -C linker=$CC \ + ${CROSS_BUILD:+--sysroot $XBPS_CROSS_BASE/usr} \ + -O ternimal.rs } do_install() {