You are not logged in.
Pages: 1
Hapy has JEdit 4.1 in his TUR, but I know at least two users besides myself that would appreciate the pre release of 4.2. Is it against protocol to submit updated packages to incoming? In this case, its a devel package, maybe it should be separate but listed as conflicts?
I modified the 4.1 pkgbuild, mostly just changed the paths to 42, also cleaned it up a bit:
#
# To build the jedit package from source you need the
# apache-ant package, available from hapy's TUR.
#
pkgname=jedit
pkgver=4.2pre11
pkgrel=1
pkgdesc="jEdit is a java based programmers text editor with many plugins"
depends=(j2re)
makedepends=(j2sdk apache-ant)
pkgurl="http://aleron.dl.sourceforge.net/sourceforge/jedit"
source=($pkgurl/${pkgname}42pre11source.tar.gz jedit)
md5sum=('61dc295d12f29a204d508373c1efadf4' 'ffc98748c4a07906f33a18105a54ed63')
build() {
cd $startdir/src/jEdit
ant dist
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/share
mkdir $startdir/pkg/usr/share/jedit42
cp -r doc $startdir/pkg/usr/share/jedit42/
cp -r jars $startdir/pkg/usr/share/jedit42/
cp -r macros $startdir/pkg/usr/share/jedit42/
cp -r modes $startdir/pkg/usr/share/jedit42/
cp -r properties $startdir/pkg/usr/share/jedit42/
cp -r startup $startdir/pkg/usr/share/jedit42/
cp jedit.jar $startdir/pkg/usr/share/jedit42/
mkdir $startdir/pkg/usr/man
mkdir $startdir/pkg/usr/man/man1
cp jedit.1 $startdir/pkg/usr/man/man1/
mkdir $startdir/pkg/usr/bin
cp $startdir/jedit $startdir/pkg/usr/bin/
chmod -R 755 $startdir/pkg
chmod 777 $startdir/pkg/usr/share/jedit42/*
}
Grab the package from incoming, because it includes the jedit shell script.
Dusty
Offline
I edited your script to use v4.3-pre1 and it works! During compilation I got a bunch of compiler warnings, but it compiled fine.
I also added a little executable that to /usr/bin called jedit that starts jEdit's .jar-file.
#
# To build the jedit package from source you need the
# apache-ant package, available from hapy's TUR.
#
pkgname=jedit-devel
pkgver=4.3pre1
pkgrel=1
pkgdesc="jEdit is a java based programmers text editor with many plugins"
depends=(j2re)
makedepends=(j2sdk apache-ant)
conflicts=('jedit')
provides=('jedit')
pkgurl="http://belnet.dl.sourceforge.net/sourceforge/jedit"
source=($pkgurl/${pkgname}43pre1source.tar.gz)
#md5sum=('61dc295d12f29a204d508373c1efadf4' 'ffc98748c4a07906f33a18105a54ed63')
build() {
cd $startdir/src/jEdit
ant dist
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/share
mkdir $startdir/pkg/usr/share/jedit43
mkdir $startdir/pkg/usr/bin
echo '#!/bin/bash' >> $startdir/pkg/usr/bin/jedit
echo 'java -jar /usr/share/jedit43/jedit.jar' >> $startdir/pkg/usr/bin/jedit
chmod a+x $startdir/pkg/usr/bin/jedit
cp -r doc $startdir/pkg/usr/share/jedit43/
cp -r jars $startdir/pkg/usr/share/jedit43/
cp -r macros $startdir/pkg/usr/share/jedit43/
cp -r modes $startdir/pkg/usr/share/jedit43/
cp -r properties $startdir/pkg/usr/share/jedit43/
cp -r startup $startdir/pkg/usr/share/jedit43/
cp jedit.jar $startdir/pkg/usr/share/jedit43/
mkdir $startdir/pkg/usr/man
mkdir $startdir/pkg/usr/man/man1
cp jedit.1 $startdir/pkg/usr/man/man1/
#cp $startdir/jedit $startdir/pkg/usr/bin/
chmod -R 755 $startdir/pkg
chmod 777 $startdir/pkg/usr/share/jedit43/*
}
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
rename it to jedit-devel and add a conflicts=('jedit') provides=('jedit') to it. then the coexistence of jedit and the developemental jedit (rc, pre, ..) is ok
The impossible missions are the only ones which succeed.
Offline
Pages: 1