Merged build and package in treetap

This commit is contained in:
Alexander Hill
2026-01-16 21:59:51 -05:00
parent 6b94b54ae8
commit 7493b86f41
44 changed files with 65 additions and 313 deletions

View File

@@ -30,11 +30,8 @@ build() {
# NOTE: Is there a better way to do this? This probably won't survive
# cross-compilation. ~ahill
./build-$SRC_VERSION/strfile maple
}
package() {
cmake --install build-$SRC_VERSION --parallel $TT_PROCS
cp maple $TT_INSTALLDIR/usr/share/games/fortunes/
cp maple.dat $TT_INSTALLDIR/usr/share/games/fortunes/
ln -sf maple $TT_INSTALLDIR/usr/share/games/fortunes/maple.u8
}
}