Username: Password: Remember me
# Maintainer: ahjolinna <ahjolinna@ovi.com>
# Maintainer: Francesco Marinucci <franzmari [at] chakralinux [dot] org>
 
pkgname=log4j
pkgver=2.12.0
pkgrel=1
pkgdesc='The Apache Java logging API'
arch=('x86_64')
url='http://logging.apache.org/log4j/'
license=('APACHE')
depends=('java-runtime')
source=(https://dist.apache.org/repos/dist/release/logging/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz)
sha256sums=('6b16ef76c464eea38a41dface1d7ec059a698ab6d3b76c2679ccf8a887f442f3')
 
package() {
  install -d "${pkgdir}"/usr/share/java/${pkgname}
  find "${srcdir}"/apache-${pkgname}-${pkgver}-bin \
    -name "*.jar" -a ! -name "*-sources.jar" -a ! -name "*-javadoc.jar" -a ! -name "*-tests.jar" \
    -exec cp {} "${pkgdir}"/usr/share/java/${pkgname} \;
}