mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
1,003 B
Bash
27 lines
1,003 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
||
|
# Contributor: Christian Storm <Christian.Storm@gmx.de>
|
||
|
|
||
|
pkgname=jabref
|
||
|
pkgver=2.5
|
||
|
pkgrel=1
|
||
|
pkgdesc="GUI frontend for BibTeX, written in Java"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://jabref.sourceforge.net/"
|
||
|
license=('GPL')
|
||
|
depends=('java-runtime')
|
||
|
source=(http://downloads.sourceforge.net/$pkgname/JabRef-${pkgver}.jar
|
||
|
jabref.sh
|
||
|
jabref.desktop)
|
||
|
md5sums=('f1518ac85a1206ba77c07a356be60556'
|
||
|
'f8d196651863fe9d961d3f7ecda06936'
|
||
|
'496d2094ee194a5568baee7af5b70fa2')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}
|
||
|
install -Dm755 JabRef-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}/JabRef-${pkgver}.jar
|
||
|
install -Dm755 ${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
|
||
|
sed -i "s/VERSION/${pkgver}/" ${pkgdir}/usr/bin/${pkgname}
|
||
|
install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
||
|
install -Dm644 images/JabRef-icon-48.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
|
||
|
}
|