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
31 changes: 31 additions & 0 deletions package/yaft/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(yaft)
pkgdesc="Yet another framebuffer terminal"
url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft
pkgver=0.0.4-1
timestamp=2021-04-11T10:42Z
maintainer="None <none@example.com>"
license=GPL-3.0
timower marked this conversation as resolved.
Show resolved Hide resolved
section="admin"
image=base:v1.6

source=(https://github.com/timower/rM2-stuff/archive/refs/tags/v0.0.4.tar.gz)
sha256sums=(dee471ac19ea43ba741f826c9a0a17d7a01bda6472043d400fbcab6fad1931fe)

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

package() {
cp -r "$srcdir/install/." "$pkgdir"
}