summaryrefslogtreecommitdiff
path: root/libre/jedit
diff options
context:
space:
mode:
Diffstat (limited to 'libre/jedit')
-rw-r--r--libre/jedit/PKGBUILD21
-rw-r--r--libre/jedit/jedit-fix_build.patch4
2 files changed, 10 insertions, 15 deletions
diff --git a/libre/jedit/PKGBUILD b/libre/jedit/PKGBUILD
index eadb3d74e..017187ddb 100644
--- a/libre/jedit/PKGBUILD
+++ b/libre/jedit/PKGBUILD
@@ -2,35 +2,31 @@
pkgname=jedit
pkgver=5.4.0
-pkgrel=3.parabola1
+pkgrel=5.parabola1
pkgdesc='Editor for programmers'
arch=('any')
url='http://jedit.org/'
license=('GPL')
-depends=('java-runtime=8' 'bash')
+depends=('java-runtime>=8')
makedepends=('java-environment=8' 'apache-ant' 'apache-ant-contrib' 'apache-ivy' 'beanshell' 'docbook-xsl-saxon'
'gendesk' 'java-hamcrest' 'jsr305' 'junit' 'xerces2-java')
-optdepends=('noto-fonts: perfectly usable font')
+optdepends=('noto-fonts: usable font')
options=('!emptydirs')
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/jedit${pkgver}source.tar.bz2"
- 'jedit.sh'
- 'jeditbg.sh'
- 'jedit.props'
- 'jedit-fix_build.patch')
+ 'jedit.sh' 'jeditbg.sh' 'jedit.props' 'jedit-fix_build.patch')
sha256sums=('b42dec6c81936b8974308f03c8f356487586cec782d79659b8ae67953c8edf71'
'91d9b4b0c4855c9624ceea8c6b40c90b53fb15a020b6d954f4bb6b4b934e0348'
'5cf267b6ee1f908ee7e9a830dc98f03a3a4a53db2822fce6a2cb5ed02d444c69'
'dc5fe0050321d4f34bce556895fbc39cc6f7df194e14eb4f6ea53166a4d82347'
- '2676e043f9cd7e9e51322f5173ddf05f4ff2b68dc97d984b0b678c80478d4cee')
+ '1d747fb3d4b0d4af3d3e752d92858067e02e8160d4d22cf820bd9f45c0fff90b')
prepare() {
- # Generate desktop shortcut
gendesk -f -n \
--pkgname "$pkgname" \
--pkgdesc "$pkgdesc" \
--exec 'jeditbg %U' \
- --name 'jEdit' \
- --genericname 'Editor'
+ --name jEdit \
+ --genericname Editor
cd jEdit
mkdir -p lib/{ant-contrib,compile,docbook,ivy,default-plugins,scripting,test}
@@ -82,11 +78,10 @@ package() {
# Man pages
install -Dm644 package-files/linux/$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
- # Launchers, properties and desktop shortcuts
install -d "$pkgdir/usr/bin"
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$srcdir/${pkgname}bg.sh" "$pkgdir/usr/bin/${pkgname}bg"
install -Dm644 "$srcdir/$pkgname.props" "$pkgdir/usr/share/$pkgname/default.props"
- install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 doc/$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
diff --git a/libre/jedit/jedit-fix_build.patch b/libre/jedit/jedit-fix_build.patch
index 90e9a2231..15d2da728 100644
--- a/libre/jedit/jedit-fix_build.patch
+++ b/libre/jedit/jedit-fix_build.patch
@@ -23,10 +23,10 @@
<xmlcatalog>
<entity publicid="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
- location="${build.dir}/docbook-xsl/docbook/html/chunk.xsl"/>
-+ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.1/html/chunk.xsl"/>
++ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.2/html/chunk.xsl"/>
<entity publicid="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
- location="${build.dir}/docbook-xsl/docbook/fo/docbook.xsl"/>
-+ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.1/fo/docbook.xsl"/>
++ location="/usr/share/xml/docbook/xsl-stylesheets-1.79.2/fo/docbook.xsl"/>
</xmlcatalog>
<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>