ternimal: fix license

This commit is contained in:
Đoàn Trần Công Danh 2021-06-24 18:34:06 +07:00
parent eb57c6cd02
commit 9647d1e4fa
1 changed files with 8 additions and 14 deletions

View File

@ -1,27 +1,21 @@
# Template file for 'ternimal' # Template file for 'ternimal'
pkgname=ternimal pkgname=ternimal
version=0.1.0 version=0.1.0
revision=1 revision=2
hostmakedepends="rust" hostmakedepends="rust"
maintainer="Orphaned <orphan@voidlinux.org>" makedepends="rust-std"
short_desc="Simulate a lifeform in the terminal" short_desc="Simulate a lifeform in the terminal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://github.com/p-e-w/ternimal" homepage="https://github.com/p-e-w/ternimal"
license="GPL-3"
distfiles="https://github.com/p-e-w/ternimal/archive/v${version}.tar.gz" distfiles="https://github.com/p-e-w/ternimal/archive/v${version}.tar.gz"
checksum=4d37f49a35de5ac23d88a61180d663ba3c2da089418818a588de31f9e920f8d6 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() { 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() { do_install() {