Advertisement
Guest User

Untitled

a guest
Jul 20th, 2011
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # Contributor: Guillem Rieu <guillemr@gmx.net>
  2. # Contributor SpepS <archspepser at yahoo dot it>
  3.  
  4. pkgname=textroom
  5. pkgver=0.8.2
  6. pkgrel=2
  7. pkgdesc="TextRoom is a simple full-screen text editor heavily inspired by similar text editors such as Q10 and JDarkRoom."
  8. arch=(i686 x86_64)
  9. url="http://code.google.com/p/textroom/"
  10. license=('GPL')
  11. depends=('qt' 'sdl_mixer' 'hunspell')
  12. source=(http://textroom.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
  13. md5sums=('e20bd19784644968bbffdb90d8ef0659')
  14.  
  15. build() {
  16. cd "${srcdir}/${pkgname}-${pkgver}"
  17.  
  18. # hunspell fix
  19. sed 's+-lhunspell+-lhunspell-1.3+' -i application/application.pro
  20. # scope fix (linux-g++ doesn't match for me…)
  21. sed 's/linux-g++/unix/' -i application/application.pro
  22.  
  23. # build
  24. qmake
  25. make
  26. }
  27.  
  28. package() {
  29. cd "${srcdir}/${pkgname}-${pkgver}"
  30.  
  31. make INSTALL_ROOT="${pkgdir}" install
  32. rm "${pkgdir}/usr/bin/textroom-uninstall"
  33. }
  34. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement