Want more features on Pastebin? Sign Up, it's FREE!
Guest

texworks 0.4.3

By: a guest on Sep 12th, 2011  |  syntax: Bash  |  size: 1.33 KB  |  views: 102  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Erdbeerkaese <erdbeerkaese@gmx.net>
  2. # Contributor: Michael Pfeuti
  3.  
  4. pkgname=texworks
  5. pkgver=0.4.3_r858
  6. pkgrel=1
  7. pkgdesc="A TeX IDE inspired by TeXShop."
  8. arch=('i686' 'x86_64')
  9. url="http://tug.org/texworks"
  10. license=('GPL2')
  11. depends=('poppler-qt' 'hunspell')
  12. makedepends=()
  13. optdepends=('texlive-core')
  14. provides=('texworks')
  15. conflicts=('texworks-svn')
  16. install=texworks.install
  17. source=("http://texworks.googlecode.com/files/texworks-${pkgver//_/-}.tar.gz")
  18. md5sums=('49c8f68dbe778435dd951dffb43b3ddb')
  19.  
  20. build() {
  21.   cd ${srcdir}/texworks-`echo ${pkgver} | sed 's/_.*//g'`
  22.  
  23.   qmake
  24.   make || return 1
  25. }
  26.  
  27. package() {
  28.   cd ${srcdir}/texworks-`echo ${pkgver} | sed 's/_.*//g'`
  29.  
  30. # binary
  31.   install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
  32. # documentation & manual
  33.   install -d ${pkgdir}/usr/share/doc/${pkgname}
  34.   install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}
  35.   install -D -m644 NEWS ${pkgdir}/usr/share/doc/${pkgname}
  36.   cp -r manual/en ${pkgdir}/usr/share/doc/${pkgname}
  37. # icon
  38.   install -D -m644 res/images/TeXworks.png \
  39.     ${pkgdir}/usr/share/pixmaps/TeXworks.png
  40. # manpage
  41.   install -D -m644 man/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
  42. # desktop
  43.   install -D -m644 ${pkgname}.desktop \
  44.     ${pkgdir}/usr/share/applications/${pkgname}.desktop
  45. }
  46.  
  47. # vim: set ft=sh ts=2 sw=2 et:
clone this paste RAW Paste Data