New package: ternimal-0.0.0.20171104

Closes: #8910 [via git-merge-pr]
This commit is contained in:
cr6git 2017-11-05 21:54:53 +01:00 committed by Toyam Cox
parent b16a53991e
commit c6dac9ad9b
1 changed files with 31 additions and 0 deletions

31
srcpkgs/ternimal/template Normal file
View File

@ -0,0 +1,31 @@
# 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
}