You are not logged in.
Pages: 1
I made an attempt to package ImageIO for java (https://jai-imageio.dev.java.net)
What I don't know yet is how to make the script to accept the end user agreement automatically (ie: blah blah blah... say yes/no)
Anyone have suggestions? AUR-worthy? Thanks in advance for any input.
I also packaged JAI (https://jai.dev.java.net)
# $Id: PKGBUILD,v 1.1 2007/01/19 20:36:25 app Exp $
# Maintainer: sash
pkgname=jai-imageio
pkgver=1.1
pkgrel=1
pkgdesc="Java (TM) Advanced Imaging Image I/O Tools"
arch=(i686)
url="https://jai-imageio.dev.java.net"
depends=('jdk')
source=(http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-i586-jdk.bin)
md5sum=('68f00ce89fa14caffbcd6a6069c6dced')
build() {
#create a java directory with the proper hierarchy:
mkdir -p ${startdir}/src/${JAVA_HOME}
cd ${startdir}/src/${JAVA_HOME}
mkdir jre
cd jre
mkdir lib
cd lib
mkdir ext i386
cd ${startdir}/src/${JAVA_HOME}
#install imageIO:
sh ${startdir}/src/jai_imageio-1_1-lib-linux-i586-jdk.bin
#copy the installation for packaging:
cd ${startdir}
mkdir -p pkg/opt
mv ${startdir}/src/opt/java ${startdir}/pkg/opt
}
Offline
Ok, stuff in build() for makepkg should be non-interactive, so much is clear.
Another thing: if jdk get's pulled in just before building this, and you haven't sourced /etc/profile yet, then $JAVA_HOME won't exist. Just use the full path, it's fixed anyway.
And kill the comments above, it's only "# Contributor: sash".
1000
Offline
Will do, thanks :-)
For the comments: remove them from the build() section?
Offline
No, the two lines at the top.
1000
Offline
Pages: 1