1 # forked from 'jabref' package
2 # Maintainer: Alexey Stukalov <astukalov@gmail.com>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: Christian Storm <Christian.Storm@gmx.de>
10 pkgdesc="GUI frontend for BibTeX, written in Java. Beta series"
12 url="http://jabref.sourceforge.net/"
14 depends=('java-runtime')
16 source=(http://downloads.sourceforge.net/${_pkgname}/JabRef-${pkgver}.jar
19 md5sums=('ff70a89b0c1a391583decf8903ddcee4'
20 'f8d196651863fe9d961d3f7ecda06936'
21 '496d2094ee194a5568baee7af5b70fa2')
25 install -Dm755 JabRef-${pkgver}.jar ${pkgdir}/usr/share/java/${_pkgname}/JabRef-${pkgver}.jar
26 install -Dm755 ${_pkgname}.sh ${pkgdir}/usr/bin/${_pkgname}
27 sed -i "s/VERSION/${pkgver}/" ${pkgdir}/usr/bin/${_pkgname}
28 install -Dm644 ${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
29 install -Dm644 images/JabRef-icon-48.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png