PKGBUILD 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Maintainer (arch): Sven-Hendrik Haase <sh@lutzhaase.com>
  2. # Contributor: Doug Newgard <scimmia at archlinux dot info>
  3. # Contributor: Andrey Mivrenik <gim at fastmail dot fm>
  4. # Contributor: Glen Oakley <goakley123@gmail.com>
  5. # Maintainer: André Silva <emulatorman@hyperbola.info>
  6. pkgname=cool-retro-term
  7. pkgver=1.1.1
  8. pkgrel=1
  9. pkgrel+=.par1
  10. pkgdesc='A good looking terminal emulator which mimics the old cathode display'
  11. pkgdesc+=', without nonfree fonts'
  12. arch=('x86_64')
  13. arch+=('i686' 'armv7h')
  14. url='https://github.com/Swordfish90/cool-retro-term'
  15. license=('GPL3')
  16. depends=('qmltermwidget' 'qt5-quickcontrols' 'qt5-graphicaleffects' 'hicolor-icon-theme')
  17. mksource=("https://github.com/Swordfish90/cool-retro-term/archive/$pkgver.tar.gz")
  18. source=("https://repo.parabola.nu/other/cool-retro-term-libre/cool-retro-term-libre-$pkgver.tar.gz")
  19. mksha256sums=('1252bafa33c8befbb86528ed75db98677cdc1298704db728e326ffd258d5ed13')
  20. sha256sums=('87b1a575dfd210c9d386358c619af2004244f1d7c6717d1cbd07313aad5e0244')
  21. mksource() {
  22. cd "$srcdir/$pkgname-$pkgver"
  23. rm -rv app/qml/fonts/{1977-{apple2,commodore-pet},1982-commodore64}
  24. }
  25. prepare() {
  26. cd "$srcdir/$pkgname-$pkgver"
  27. sed -i '/qmltermwidget/d' cool-retro-term.pro
  28. sed -i '/1977-apple2/d
  29. /1977-commodore-pet/d
  30. /1982-commodore64/d
  31. /modern-envy-code-r/d
  32. ' app/qml/resources.qrc
  33. }
  34. build() {
  35. cd "$srcdir/$pkgname-$pkgver"
  36. qmake
  37. make
  38. }
  39. package() {
  40. cd "$srcdir/$pkgname-$pkgver"
  41. make INSTALL_ROOT="$pkgdir" install
  42. }