# Compiling Time: 0.03 SBU
# Maintainer: bouleetbil <bouleetbil@frogdev.info>

pkgname=commons-lang3
pkgver=3.12.0
pkgrel=1
pkgdesc="The Lang Component provides a host of helper utilities for the java.lang API"
url="http://commons.apache.org/lang/"
depends=() ## wrong some java foo's
Finclude openjava
makedepends+=('maven')
groups=('devel-extra')
archs=('x86_64')
up2date="Flastarchive http://www.apache.org/dist/commons/lang/source/ -src.tar.gz"
source=(http://www.apache.org/dist/commons/lang/source/$pkgname-$pkgver-src.zip \
	fix-tostringbuildertest.patch )
sha1sums=('fe0e34f46588f077a8c7e3c0c137bd6195f9a5ab' \
          '2d0ebec5b213059c3e2cc6af4444c945d09efc81')
_F_cd_path="$pkgname-$pkgver-src"

provides=('commons-lang')
conflicts=('commons-lang')
replaces=('commons-lang')

build() {
	Fcd
	Fpatchall

	Fexec mvn -Dmaven.repo.local=$Fsrcdir/repo clean package || Fdie
	Fjar target/commons-lang3-$pkgver.jar
}

# optimization OK
