New package: java-commons-io IO related classes for Java.
Package neede to build properly fop according to the package chaining in arch linux Hope it is packaged right 1st attempt to package a java JAR Regards Carlo
This commit is contained in:
parent
8473ccc983
commit
64a2855bf9
1 changed files with 24 additions and 0 deletions
24
srcpkgs/java-commons-io/template
Normal file
24
srcpkgs/java-commons-io/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'java-commons-io'
|
||||||
|
_origname="commons-io"
|
||||||
|
pkgname=java-commons-io
|
||||||
|
version=2.4
|
||||||
|
revision=1
|
||||||
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||||
|
homepage="http://commons.apache.org/io"
|
||||||
|
license="Apache-2.0"
|
||||||
|
short_desc="IO related classes for Java."
|
||||||
|
hostmakedepends="jdk apache-ant"
|
||||||
|
depends="jre"
|
||||||
|
noarch="yes"
|
||||||
|
distfiles="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/commons/io/source/${_origname}-${version}-src.tar.gz"
|
||||||
|
checksum="961c8b41a891933c2d662d8e490667243ac82422668d1ccdd7bfedfdb944bb58"
|
||||||
|
wrksrc="${_origname}-${version}-src"
|
||||||
|
|
||||||
|
do_build(){
|
||||||
|
cd ${wrksrc}
|
||||||
|
JAVA_HOME=/usr/share/java ant jar
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install(){
|
||||||
|
vinstall ${wrksrc}/target/${_origname}-2.2-SNAPSHOT.jar 755 /usr/share/java/${_origname} ${_origname}.jar
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue