1 # Maintainer: Erdbeerkaese <erdbeerkaese@gmx.net>
2 # Contributor: Michael Pfeuti
7 pkgdesc="A TeX IDE inspired by TeXShop."
9 url="http://tug.org/texworks"
11 depends=('poppler-qt' 'hunspell')
13 optdepends=('texlive-core')
15 conflicts=('texworks-svn')
16 install=texworks.install
17 source=("http://texworks.googlecode.com/files/texworks-${pkgver//_/-}.tar.gz")
18 md5sums=('49c8f68dbe778435dd951dffb43b3ddb')
21 cd ${srcdir}/texworks-`echo ${pkgver} | sed 's/_.*//g'`
28 cd ${srcdir}/texworks-`echo ${pkgver} | sed 's/_.*//g'`
31 install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
33 # documentation & manual
34 install -d ${pkgdir}/usr/share/doc/${pkgname}
35 install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}
36 install -D -m644 NEWS ${pkgdir}/usr/share/doc/${pkgname}
37 cp -r manual/en ${pkgdir}/usr/share/doc/${pkgname}
40 install -D -m644 res/images/TeXworks.png \
41 ${pkgdir}/usr/share/pixmaps/TeXworks.png
44 install -D -m644 man/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
47 install -D -m644 ${pkgname}.desktop \
48 ${pkgdir}/usr/share/applications/${pkgname}.desktop
51 # vim: set ft=sh ts=2 sw=2 et: