diff options
author | Marcin Wieczorek | 2016-06-17 00:15:57 +0200 |
---|---|---|
committer | Marcin Wieczorek | 2016-06-17 00:15:57 +0200 |
commit | 305c896e9a107134678f78f090593b70b01c3f90 (patch) | |
tree | 5e763a2cb7f5a3755dc5749f2c5c5fa15585c27a | |
parent | f968809c53c214890fcffe4b0cee5d366dee2dba (diff) | |
download | aur-305c896e9a107134678f78f090593b70b01c3f90.tar.gz |
Version 3.6.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 22 insertions, 8 deletions
@@ -1,13 +1,13 @@ pkgbase = java-commons-math pkgdesc = Apache Commons Mathematics Library - pkgver = 3.5 + pkgver = 3.6.1 pkgrel = 1 url = http://commons.apache.org/math/ arch = any license = APACHE depends = java-runtime - source = http://mirror.nyi.net/pub/apache/commons/math/binaries/commons-math3-3.5-bin.tar.gz - md5sums = d3e9e9a8d4b07d0894257cc6953cd2a1 + source = http://www-eu.apache.org/dist//commons/math/source/commons-math3-3.6.1-src.tar.gz + md5sums = 9698be1b485d9ff35b7b23262cb42aee pkgname = java-commons-math @@ -1,18 +1,32 @@ -# Maintainer: Tomas Storck <storcktomas@gmail.com +# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co> +# Contributor: Tomas Storck <storcktomas@gmail.com # Contributor: Devin J. Pohly <djpohly+arch@gmail.com> + pkgname=java-commons-math _shortname=commons-math -pkgver=3.5 +pkgver=3.6.1 pkgrel=1 pkgdesc='Apache Commons Mathematics Library' arch=(any) url='http://commons.apache.org/math/' license=('APACHE') depends=('java-runtime') -source=("http://mirror.nyi.net/pub/apache/commons/math/binaries/${_shortname}3-$pkgver-bin.tar.gz") -md5sums=('d3e9e9a8d4b07d0894257cc6953cd2a1') +source=("http://www-eu.apache.org/dist//commons/math/source/commons-math3-${pkgver}-src.tar.gz") +md5sums=('9698be1b485d9ff35b7b23262cb42aee') + +build() { + cd "${srcdir}/commons-math3-${pkgver}-src" + + mvn install +} package() { - install -Dm644 "$srcdir/${_shortname}3-$pkgver/${_shortname}3-$pkgver.jar" "$pkgdir/usr/share/java/$_shortname/$_shortname.jar" + cd "${srcdir}/${_shortname}3-${pkgver}-src/" + + install -Dm644 "target/${_shortname}3-${pkgver}.jar" "${pkgdir}/usr/share/java/${_shortname}/${_shortname}.jar" + install -Dm644 "target/${_shortname}3-${pkgver}-tools.jar" "${pkgdir}/usr/share/java/${_shortname}/${_shortname}-tools.jar" + + install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 "NOTICE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" } # vim:set ts=2 sw=2 et: |