Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Yaft][0.0.4] - New Package #261

Merged
merged 16 commits into from
Apr 12, 2021
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions package/yaft/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env bash
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(yaft)
pkgdesc="Framebuffer terminal emulator with an on-screen touch keyboard"
url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft
pkgver=0.0.1-1
timestamp=2020-10-27T12:02Z
section="admin"
maintainer="Timothy Werquin"
license=GPL-3.0

image=base:v1.3

source=(
https://github.com/timower/rM2-stuff/archive/0a5ff42551dab208c1937d9b10396f30e8e982ba.zip
yaft.png
yaft.draft
)

sha256sums=(
6838b3b340a210b369afdf0958f297ac3670f848fd5d3ebbee5ab69bc8aa3152
SKIP
SKIP
)

build() {
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake"
make yaft
}

package() {
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/build/apps/yaft/yaft

install -D -m 644 -t "$pkgdir"/opt/etc/draft "$srcdir"/yaft.draft
install -D -m 644 -t "$pkgdir"/opt/etc/draft/icons "$srcdir"/yaft.png
}
8 changes: 8 additions & 0 deletions package/yaft/yaft.draft
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

name=yaft
desc=Framebuffer terminal emulator with an on-screen touch keyboard
call=/opt/bin/yaft
term=:
imgFile=yaft
Binary file added package/yaft/yaft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.