# Compiling Time: 0.08 SBU # Maintainer: DeX77 # Contributor: crazy pkgname=commons-net pkgver=3.8.0 pkgrel=1 pkgdesc="Commons Net implements the client side of many basic Internet protocols." url="http://jakarta.apache.org/commons/net" groups=('devel-extra') archs=('i686' 'x86_64') up2date="Flastarchive http://www-eu.apache.org/dist//commons/net/source -src.tar.gz" source=(http://www-eu.apache.org/dist//commons/net/source/$pkgname-$pkgver-src.tar.gz) sha1sums=('0a9f2591c776d058ac66775e4c0077fbf5b7ebdd') _F_cd_path=$pkgname$Fpkgversep$pkgver-src Finclude openjava depends=() ## wrong some java foo's makedepends=('openjdk' 'maven') build() { Fcd mvn -Dmaven.test.skip=true -Dmaven.repo.local=$Fsrcdir/repo clean package || Fdie mv target/commons-net{-$pkgver,}.jar Fjar target/commons-net.jar } # optimization OK