snapcraft.yaml 914 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: tintin
  2. adopt-info: tintin
  3. summary: TinTin++ is a scriptable MUD client.
  4. description: TinTin++ is a MUD client that features an easy to learn yet powerful scripting language, a versatile automapper, and advanced VT100 interface controls.
  5. icon: tintin-128.png
  6. base: core18
  7. grade: stable
  8. confinement: strict
  9. architectures:
  10. - build-on: armhf
  11. - build-on: arm64
  12. - build-on: i386
  13. - build-on: amd64
  14. apps:
  15. tintin:
  16. command: tt++
  17. parts:
  18. tintin:
  19. plugin: autotools
  20. source: https://github.com/scandum/tintin
  21. source-type: git
  22. source-branch: master
  23. build-packages:
  24. - gcc
  25. - make
  26. - libpcre3-dev
  27. - zlib1g-dev
  28. - gnutls-dev
  29. override-build: |
  30. src/configure
  31. mv Makefile config.h src/
  32. make -j -C src
  33. cp src/tt++ $SNAPCRAFT_PART_INSTALL/
  34. snapcraftctl set-version $(head -n 1 mods/igr.mods | awk -F ' ' '{print $3}' | tr -d '\r')