-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update tilem to v0.1.1 * Use latest build image * Switch to git lfs * Fix install path
- Loading branch information
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,37 @@ | |
pkgnames=(tilem) | ||
pkgdesc="TI-84+ calculator emulator" | ||
url=https://github.com/timower/rM2-stuff/tree/master/apps/tilem | ||
pkgver=0.0.7-3 | ||
timestamp=2021-04-30T10:42Z | ||
_tag=0.1.1 | ||
pkgver=${_tag}-1 | ||
timestamp=2023-11-25T20:49:48Z | ||
maintainer="Mattéo Delabre <[email protected]>" | ||
license=GPL-3.0 | ||
section="utils" | ||
image=base:v2.1 | ||
image=base:v3.1 | ||
installdepends=(display) | ||
|
||
source=(https://github.com/timower/rM2-stuff/archive/refs/tags/v0.0.7.tar.gz) | ||
sha256sums=(ed2db5f1aa7c9e8b0bead53bd60cb8fd9eec24c028d789fdbdc4b1655d6c78ce) | ||
source=() | ||
sha256sums=() | ||
|
||
prepare() { | ||
cd "$srcdir" | ||
mkdir -p tilem | ||
cd tilem | ||
git init | ||
git lfs install | ||
git remote add origin https://github.com/timower/rM2-stuff.git | ||
git fetch --depth 1 origin tag v${_tag} --no-tags | ||
git checkout v${_tag} | ||
git lfs fetch | ||
git lfs checkout | ||
} | ||
|
||
build() { | ||
mkdir build | ||
mkdir install | ||
cd build | ||
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \ | ||
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release .. | ||
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../tilem | ||
cd apps/tilem | ||
make | ||
make install | ||
|