updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jlatexeditor / PKGBUILD
blobcd0411312ba028dd296ad6c8be0554ee115069c7
1 # Contributor:  titiwu
2 # Maintainer: titiwu
3 pkgname=jlatexeditor
4 pkgver=2.2
5 pkgrel=1
6 pkgdesc="Intelligent and configurable open source LaTeX editor written in Java."
7 url="http://jlatexeditor.endrullis.de/"
8 arch=('any')
9 license=('GPL')
10 depends=('java-runtime' 'texlive-bin' 'texlive-core')
11 optdepends=('aspell: live spell checking'
12             'hunspell: live spell checking'
13             'subversion: svn support')
14 install=jlatexeditor.install
15 source=(http://endrullis.de/JLatexEditor/releases/JLatexEditor-latest.tar.gz jlatexeditor jlatexeditor.png jlatexeditor.desktop)
16 md5sums=('743d8da233e1641a3a34cfcdecde0b62'
17          '1baa11993c999c112a7f16c2089dc58c'
18          '02a528ac45a44c42a280af6d69c211c7'
19          '9843de020852935ebf1fed3893ea5e38')
21 build() {
22   cd $srcdir/
23   install -d $pkgdir/usr/share/{applications,pixmaps} || return 1
24   install -d  $pkgdir/usr/share/$pkgname
25   cp -R $srcdir/JLatexEditor/* $pkgdir/usr/share/$pkgname
26   chmod 755 $pkgdir/usr/share/$pkgname/$pkgname
27   install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
28   install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps || return 1
29   install -Dm644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications || return 1