void-packages/srcpkgs/ternimal/template

32 lines
1.3 KiB
Bash

# Template file for 'ternimal'
pkgname=ternimal
version=0.0.0.20171104
revision=1
_commit=2eea4f4d0ebb94fdb3e7b732a9761198e2085da1
wrksrc="ternimal-${_commit}"
hostmakedepends="rust"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Simulate a lifeform in the terminal"
homepage="https://github.com/p-e-w/ternimal"
license="GPL-3"
distfiles="https://github.com/p-e-w/ternimal/archive/${_commit}.tar.gz"
checksum=edd5418ac7c380cab9266c4b4a4b9141c34edd358557e957ffb7779d72ace503
# 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
}
do_install() {
vbin ternimal
}