30 lines
1.2 KiB
Bash
30 lines
1.2 KiB
Bash
# Template file for 'ternimal'
|
|
pkgname=ternimal
|
|
version=0.1.0
|
|
revision=1
|
|
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/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
|
|
}
|
|
|
|
do_install() {
|
|
vbin ternimal
|
|
}
|