summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Graën2019-10-15 08:47:21 +0200
committerJohannes Graën2019-10-15 08:47:21 +0200
commit03ec0120667e9aff9f0067ae3feaea334f2e854c (patch)
treeb01a0250450efa6e982a876a5f391d0516379c29
parent9a034b5f61d3b83d48415bd3fcc8f26c45b79add (diff)
downloadaur-03ec0120667e9aff9f0067ae3feaea334f2e854c.tar.gz
architecture change: jar file > precompiled binary
-rw-r--r--.SRCINFO58
-rw-r--r--JabRef.desktop (renamed from jabref.desktop)5
-rw-r--r--JabRef.svg121
-rw-r--r--PKGBUILD82
-rwxr-xr-x[-rw-r--r--]jabref.sh2
5 files changed, 158 insertions, 110 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ae2e0a1524..d091cc4584d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,62 +1,30 @@
pkgbase = jabref-latest
pkgdesc = GUI frontend for BibTeX, written in Java; latest master version from git
- pkgver = 20190830
+ pkgver = 20191014
pkgrel = 1
url = https://www.jabref.org/
- arch = any
+ arch = x86_64
license = MIT
- depends = archlinux-java-run>=4
- depends = java11-openjfx
- depends = sh
- depends = atk
- depends = bzip2
- depends = cairo
- depends = expat
- depends = fontconfig
- depends = freetype2
- depends = fribidi
- depends = gcc-libs
- depends = gdk-pixbuf2
- depends = glib2
depends = glibc
- depends = graphite
- depends = gtk2
- depends = harfbuzz
- depends = libdatrie
- depends = libffi
- depends = libpng
- depends = libthai
- depends = libutil-linux
- depends = libx11
- depends = libxau
- depends = libxcb
- depends = libxcomposite
- depends = libxcursor
- depends = libxdamage
- depends = libxdmcp
- depends = libxext
- depends = libxfixes
- depends = libxi
- depends = libxinerama
- depends = libxrandr
- depends = libxrender
+ depends = freetype2
depends = libxtst
- depends = pango
- depends = pcre
- depends = pixman
- depends = zlib
+ depends = libnet
+ depends = libxrender
+ depends = alsa-lib
+ depends = python3
optdepends = gsettings-desktop-schemas: For web search support
provides = jabref
conflicts = jabref
- noextract = JabRef--master--latest.jar
- source = https://builds.jabref.org/master/JabRef--master--latest.jar
+ source = https://builds.jabref.org/master/JabRef-portable_linux.tar.gz
source = https://raw.githubusercontent.com/JabRef/jabref/master/LICENSE.md
source = jabref.sh
- source = jabref.desktop
+ source = JabRef.desktop
+ source = JabRef.svg
sha256sums = SKIP
sha256sums = dad0a06f54ce346cc066c6e27e746974e850b77f04381f3c363021ee927e444d
- sha256sums = 5f75629a9d8984ffd93b2628f1c064fa4f72df4677cfce91977132240d7a3179
- sha256sums = a26845ba60ef2588c52d7d18259a977b146c777f935573bacdffcdcefa2b41b5
+ sha256sums = 9311fb9ed26f65be4040b6add5f195ffff22c857d5f85bd471375633e44bfe04
+ sha256sums = 183a112c959a3a1b8c1db3522aa52cd20487c7849985318cff1dc1b502718f26
+ sha256sums = 84408ddc8c6e41e4367f3b6cd171909fb1cf7ac808495f3a8033b64a2ff4c40b
pkgname = jabref-latest
diff --git a/jabref.desktop b/JabRef.desktop
index d9cf381897e..79965b3fae6 100644
--- a/jabref.desktop
+++ b/JabRef.desktop
@@ -4,8 +4,9 @@ GenericName=BibTeX Editor
Comment=JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format.
Type=Application
Terminal=false
-Icon=jabref
-Exec=jabref %U
+Icon=JabRef
+Exec=JabRef %U
+Path=/opt/JabRef/bin
Keywords=bibtex;biblatex;latex;bibliography
Categories=Office;
StartupWMClass=org-jabref-JabRefMain
diff --git a/JabRef.svg b/JabRef.svg
new file mode 100644
index 00000000000..35b4d563b8c
--- /dev/null
+++ b/JabRef.svg
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="Ebene_1"
+ x="0px"
+ y="0px"
+ width="205"
+ height="205"
+ viewBox="0 0 205.00001 205.00001"
+ enable-background="new 0 0 350.024 350.024"
+ xml:space="preserve"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="without-bg.svg"
+ inkscape:export-filename="D:\forschung\eclipse-projects\jabref-repos\jabref-admin\files-logo-contest\version2\exported bitmaps\JabRef-icon-32.png"
+ inkscape:export-xdpi="14.04878"
+ inkscape:export-ydpi="14.04878"><metadata
+ id="metadata3041"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs3039">
+ <defs
+ id="defs3017">
+ <rect
+ height="350.02399"
+ width="350.02399"
+ id="SVGID_1_"
+ x="0"
+ y="0" />
+ </defs>
+ <clipPath
+ id="SVGID_2_">
+ <use
+ id="use3021"
+ overflow="visible"
+ xlink:href="#SVGID_1_"
+ style="overflow:visible"
+ x="0"
+ y="0"
+ width="350.02399"
+ height="350.02399" />
+ </clipPath>
+
+
+
+
+
+
+
+</defs><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1536"
+ inkscape:window-height="801"
+ id="namedview3037"
+ showgrid="false"
+ inkscape:zoom="2.696958"
+ inkscape:cx="28.023199"
+ inkscape:cy="104.45913"
+ inkscape:window-x="-8"
+ inkscape:window-y="-8"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="Ebene_1"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+<g
+ id="g4308"
+ transform="translate(4.464505,-1.0189586)"><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="M 169.701,159.59 C 165.76,106.354 90.925,87.102 90.754,88.131 c -0.138,6.655 -0.277,13.309 -0.415,19.964 17.786,3.616 61.666,20.094 79.362,51.495"
+ id="path3025"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="M 168.724,133.743 C 165.32,91.685 107.608,72.901 107.501,73.547 c -0.041,3.517 -0.081,7.035 -0.121,10.553 18.138,7.541 47.675,24.698 61.344,49.643"
+ id="path3027"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="m 139.626,137.75 c -25.869,-17.587 -58.458,-22.145 -58.582,-21.399 -0.316,12.413 -0.631,24.826 -0.946,37.239 37.889,2.181 40.156,25.749 37.868,40.824 l -39.112,12.556 -1.878,69.523 68.665,-26.614 c 8.02,-3.279 16.04,-6.436 24.061,-9.326 v -47.922 c 0,-21.406 -10.904,-41.845 -30.076,-54.881"
+ id="path3029"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="m 180.322,159.59 c 3.941,-53.236 78.776,-72.488 78.947,-71.459 0.138,6.655 0.277,13.309 0.415,19.964 -17.786,3.616 -61.665,20.094 -79.362,51.495"
+ id="path3031"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="m 181.3,133.743 c 3.404,-42.058 61.116,-60.842 61.223,-60.196 0.041,3.517 0.081,7.035 0.121,10.553 -18.138,7.541 -47.675,24.698 -61.344,49.643"
+ id="path3033"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /><path
+ transform="translate(-76.976,-71.492991)"
+ clip-path="url(#SVGID_2_)"
+ d="m 210.397,137.75 c 25.869,-17.587 58.458,-22.145 58.582,-21.399 0.316,12.413 0.632,24.826 0.946,37.239 -37.889,2.181 -40.156,25.749 -37.868,40.824 l 39.112,12.556 1.878,69.523 -68.665,-26.614 c -8.02,-3.279 -16.04,-6.436 -24.061,-9.326 v -47.922 c 0.001,-21.406 10.905,-41.845 30.076,-54.881"
+ id="path3035"
+ inkscape:connector-curvature="0"
+ style="fill:#4f5f8f;fill-opacity:1" /></g>
+</svg>
diff --git a/PKGBUILD b/PKGBUILD
index a22f6c7d267..79934006bd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,87 +1,45 @@
# Maintainer: Johannes Graën <johannes SPIRALGALAXY selfnet FULLSTOP de>
-# This PKGBUILD is based on the packages jabref and jabref-git
-
pkgname=jabref-latest
-pkgver=20190830
+pkgver=20191014
pkgrel=1
pkgdesc="GUI frontend for BibTeX, written in Java; latest master version from git"
-arch=('any')
+arch=('x86_64')
url="https://www.jabref.org/"
license=('MIT')
provides=('jabref')
conflicts=('jabref')
-depends=('archlinux-java-run>=4'
- 'java11-openjfx'
- 'sh'
- 'atk'
- 'bzip2'
- 'cairo'
- 'expat'
- 'fontconfig'
+depends=('glibc'
'freetype2'
- 'fribidi'
- 'gcc-libs'
- 'gdk-pixbuf2'
- 'glib2'
- 'glibc'
- 'graphite'
- 'gtk2'
- 'harfbuzz'
- 'libdatrie'
- 'libffi'
- 'libpng'
- 'libthai'
- 'libutil-linux'
- 'libx11'
- 'libxau'
- 'libxcb'
- 'libxcomposite'
- 'libxcursor'
- 'libxdamage'
- 'libxdmcp'
- 'libxext'
- 'libxfixes'
- 'libxi'
- 'libxinerama'
- 'libxrandr'
- 'libxrender'
- 'libxtst'
- 'pango'
- 'pcre'
- 'pixman'
- 'zlib'
-)
+ 'libxtst'
+ 'libnet'
+ 'libxrender'
+ 'alsa-lib'
+ 'python3')
optdepends=('gsettings-desktop-schemas: For web search support')
-source=(https://builds.jabref.org/master/JabRef--master--latest.jar
+source=(https://builds.jabref.org/master/JabRef-portable_linux.tar.gz
https://raw.githubusercontent.com/JabRef/jabref/master/LICENSE.md
jabref.sh
- jabref.desktop)
-noextract=(JabRef--master--latest.jar)
+ JabRef.desktop
+ JabRef.svg)
sha256sums=('SKIP'
'dad0a06f54ce346cc066c6e27e746974e850b77f04381f3c363021ee927e444d'
- '5f75629a9d8984ffd93b2628f1c064fa4f72df4677cfce91977132240d7a3179'
- 'a26845ba60ef2588c52d7d18259a977b146c777f935573bacdffcdcefa2b41b5')
+ '9311fb9ed26f65be4040b6add5f195ffff22c857d5f85bd471375633e44bfe04'
+ '183a112c959a3a1b8c1db3522aa52cd20487c7849985318cff1dc1b502718f26'
+ '84408ddc8c6e41e4367f3b6cd171909fb1cf7ac808495f3a8033b64a2ff4c40b')
pkgver() {
- curl --silent --head head https://builds.jabref.org/master/JabRef--master--latest.jar \
- | grep "Last-Modified" | cut -d' ' -f2- | date -f - +%Y%m%d
-}
-
-prepare() {
- cd ${srcdir}
- bsdtar -xf JabRef--master--latest.jar icons/jabref.svg
+ curl --silent --head head https://builds.jabref.org/master/JabRef-portable_linux.tar.gz \
+ | grep "Last-Modified" | cut -d' ' -f2- | date -f - +%Y%m%d
}
package() {
cd ${srcdir}
- install -Dm755 JabRef--master--latest.jar ${pkgdir}/usr/share/java/${pkgname}/JabRef-${pkgver}.jar
-
+ install -Dm755 JabRef/bin/JabRef ${pkgdir}/opt/JabRef/bin/JabRef
+ find JabRef/lib -type f -exec install -Dm644 "{}" "${pkgdir}/opt/{}" \;
install -Dm755 jabref.sh ${pkgdir}/usr/bin/jabref
- sed -i "s/VERSION/${pkgver}/" ${pkgdir}/usr/bin/jabref
-
- install -Dm644 jabref.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
- install -Dm644 icons/jabref.svg ${pkgdir}/usr/share/pixmaps/${pkgname}.svg
+ install -Dm755 JabRef.svg ${pkgdir}/usr/share/pixmaps/JabRef.svg
+ install -Dm644 JabRef.desktop ${pkgdir}/usr/share/applications/JabRef.desktop
install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
}
diff --git a/jabref.sh b/jabref.sh
index 7a4f08faf0c..edd67468a11 100644..100755
--- a/jabref.sh
+++ b/jabref.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-/usr/bin/archlinux-java-run --min 11 --max 11 -- -jar /usr/share/java/jabref-latest/JabRef-VERSION.jar "$@"
+exec /opt/JabRef/bin/JabRef $@