PKGBUILD 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Contributor: DonVla <donvla@users.sourceforge.net>
  3. pkgname=yeahconsole
  4. pkgver=0.3.4
  5. pkgrel=2
  6. pkgdesc="Simple, lightweight, game-like drop-down terminal, embedding xterm or urxvt"
  7. arch=(i686 x86_64 armv7h)
  8. url=http://phrat.de/yeahtools.html
  9. license=('GPL')
  10. groups=('yeahtools')
  11. depends=('libx11' 'xterm')
  12. optdepends=('rxvt-unicode')
  13. _release=${pkgname}-${pkgver}
  14. source=(http://phrat.de/${_release}.tar.gz
  15. restart_hidden.patch)
  16. sha256sums=('fcf3481f78a263a70f1cb5163630fc22e78bb0915013eb05689c6f4aeb0583ef'
  17. 'd5dfe9143f7e81ad7ca4f9e7ca58d589193c6ece51c3d7ec39da64511497f855')
  18. prepare()
  19. {
  20. cd "${srcdir}/${_release}"
  21. # patch per: http://github.com/rduplain/yeahconsole/commit/22488002357cda40ddcc67df695f64f5b06a44a6 :
  22. # yeahconsole restarts on exit when yeahconsole*restart:1 in .Xdefaults
  23. # yeahconsole restarts hidden/rolled-up when yeahconsole*restartHidden:1 in .Xdefaults
  24. # attention is given to avoid focus stealing on restartHidden
  25. patch < "${srcdir}/restart_hidden.patch"
  26. }
  27. build()
  28. {
  29. cd "${srcdir}/${_release}"
  30. make || return 1
  31. }
  32. package()
  33. {
  34. cd "${srcdir}/${_release}"
  35. install -D -m 0755 "${srcdir}/${_release}/yeahconsole" "${pkgdir}/usr/bin/yeahconsole"
  36. install -D -m 0644 "${srcdir}/${_release}README" "${pkgdir}/usr/share/yeahtools/yeahconsole.README"
  37. install -D -m 0644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  38. }