35 lines
760 B
YAML
35 lines
760 B
YAML
name: tictactoebot
|
|
version: "1.0.0"
|
|
summary: Tictactoebot
|
|
description: |
|
|
A Telegrambot to play tictactoe in Telegram Groupchats
|
|
|
|
confinement: devmode
|
|
base: core18
|
|
|
|
parts:
|
|
tictactoebot:
|
|
plugin: make
|
|
source-type: git
|
|
source: https://git.mrbesen.de/MrBesen/tictactoebot.git
|
|
source-branch: master
|
|
artifacts:
|
|
- tictactoebot
|
|
makefile: Makefile
|
|
build-packages:
|
|
- g++
|
|
- make
|
|
- libcurl4-openssl-dev
|
|
stage-packages:
|
|
- libcurl4
|
|
override-build: |
|
|
git clone --depth=1 --branch=v3.7.3 https://github.com/nlohmann/json.git
|
|
ln -sr json/include/nlohmann TAPI/include
|
|
make -j4
|
|
cp -l tictactoebot $SNAPCRAFT_PART_INSTALL/tictactoebot
|
|
|
|
|
|
apps:
|
|
tictactoebot:
|
|
command: tictactoebot
|