updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / jabref-beta / PKGBUILD
blob2c6f289c638072ffbc8220e8f3d686a263281afd
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>
6 pkgname=jabref-beta
7 _pkgname=jabref
8 pkgver=2.8b
9 pkgrel=1
10 pkgdesc="GUI frontend for BibTeX, written in Java. Beta series"
11 arch=('any')
12 url="http://jabref.sourceforge.net/"
13 license=('GPL')
14 depends=('java-runtime')
15 conflicts=('jabref')
16 source=(http://downloads.sourceforge.net/${_pkgname}/JabRef-${pkgver}.jar
17         jabref.sh
18         jabref.desktop)
19 md5sums=('ff70a89b0c1a391583decf8903ddcee4'
20          'f8d196651863fe9d961d3f7ecda06936'
21          '496d2094ee194a5568baee7af5b70fa2')
23 build() {
24   cd ${srcdir}
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