From c6dac9ad9b7cb361df07592488d20004a2d9f27b Mon Sep 17 00:00:00 2001 From: cr6git Date: Sun, 5 Nov 2017 21:54:53 +0100 Subject: [PATCH] New package: ternimal-0.0.0.20171104 Closes: #8910 [via git-merge-pr] --- srcpkgs/ternimal/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/ternimal/template diff --git a/srcpkgs/ternimal/template b/srcpkgs/ternimal/template new file mode 100644 index 00000000000..70c8b81875e --- /dev/null +++ b/srcpkgs/ternimal/template @@ -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 " +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 +}