pkgname=TIC-80 pkgver=1.4.1 pkgrel=1pp options=('noextract') sourcetemplate=https://people.salixos.org/papasot/salix/$pkgname url="https://tic80.com" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "TIC-80 (TIC-80 fantasy computer)" "TIC-80 is a free and open source fantasy computer for making, playing" "and sharing tiny games. There are built-in tools for development:" "code, sprites, maps, sound editors and the command line, which is" "enough to create a mini retro game. At the end you get a cartridge" "file which can be stored and played on the website, or packed into a" "player that works on all popular platforms." "To make a retro-style game, the whole process of creation takes place" "under some technical limitations: a 240x136 pixel display, a 16-color" "palette, 256 8x8 color sprites, 4-channel sound, etc." "" "HomePage: https://tic80.com" ) build() { cd $startdir/src git clone --depth 1 --branch v$pkgver --recurse-submodules \ --shallow-submodules https://github.com/nesbox/$pkgname.git cd $pkgname && mkdir -p build && cd build cmake -S .. -B . -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="-Wno-missing-field-initializers"\ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_WITH_ALL=ON \ -DBUILD_WITH_MINISCRIPT=OFF \ -DBUILD_SOKOL=OFF \ -DBUILD_SDL=ON \ -DBUILD_SDLGPU=ON cmake --build . #--parallel make install DESTDIR=$startdir/pkg }