All pastes #610643 Raw Edit

Something

public text v1 · immutable
·published 2007-07-09 15:49 UTC
rendered paste body
# Gets the servlet .class files from sun, creates a jar of them and puts it in the classpath - unsure about packagename, license, any ideas?
pkgname=javax-servlet
pkgver=2.3
pkgrel=1
pkgdesc="Provides a simple mechanism for extending the functionality of a web server"
arch=('i686')
url="http://java.sun.com/products/servlet/"
license=('unknown')
depends=('jre')
makedepends=('jdk')
source=(http://sdlc-esd.sun.com/ESD4/JSCDL/servlet/$pkgver/servlet-${pkgver/./_}-fcs-classfiles.zip)
md5sums=('485ff3efdf4080cef5478758e2c8b371')

build() {
  _libext=$startdir/pkg/opt/java/jre/lib/ext
  mkdir -p $_libext

  cd $startdir/src
  /opt/java/bin/jar cf $_libext/servlet${pkgver/./}.jar javax
}