template 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # Template file for 'cool-retro-term'
  2. pkgname=cool-retro-term
  3. version=1.1.1
  4. revision=1
  5. build_style=qmake
  6. hostmakedepends="automake qt5-qmake qt5-declarative-devel"
  7. makedepends="qt5-devel qt5-declarative-devel"
  8. depends="qt5-graphicaleffects qt5-quickcontrols qmltermwidget qt5-plugin-sqlite"
  9. short_desc="Good looking terminal emulator which mimics the old cathode display"
  10. maintainer="Enno Boland <gottox@voidlinux.org>"
  11. license="GPL-3.0-or-later"
  12. homepage="https://github.com/Swordfish90/cool-retro-term"
  13. distfiles="${homepage}/archive/${version}.tar.gz"
  14. checksum=1252bafa33c8befbb86528ed75db98677cdc1298704db728e326ffd258d5ed13
  15. # Liberation
  16. post_patch() {
  17. # Following commands has been taken from:
  18. # https://git.parabola.nu/abslibre.git/tree/libre/cool-retro-term/PKGBUILD
  19. # To remove nonfree fonts
  20. rm -rv app/qml/fonts/{1977-{apple2,commodore-pet},1982-commodore64}
  21. sed -i '/1977-apple2/d
  22. /1977-commodore-pet/d
  23. /1982-commodore64/d
  24. /modern-envy-code-r/d
  25. ' app/qml/resources.qrc
  26. }
  27. pre_configure() {
  28. sed -i '/qmltermwidget/d' cool-retro-term.pro
  29. }