[arch-commits] Commit in java-commons-lang/repos (2 files)
Jonas Witschel
diabonas at archlinux.org
Thu Oct 10 17:13:51 UTC 2019
Date: Thursday, October 10, 2019 @ 17:13:50
Author: diabonas
Revision: 514483
archrelease: copy trunk to community-any
Added:
java-commons-lang/repos/community-any/
java-commons-lang/repos/community-any/PKGBUILD
(from rev 514482, java-commons-lang/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: java-commons-lang/repos/community-any/PKGBUILD (from rev 514482, java-commons-lang/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-10-10 17:13:50 UTC (rev 514483)
@@ -0,0 +1,33 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=java-commons-lang
+pkgver=3.9
+pkgrel=3
+pkgdesc='A host of helper utilities for the java.lang API'
+arch=('any')
+url='https://commons.apache.org/proper/commons-lang/'
+license=('APACHE')
+depends=('java-runtime-headless')
+makedepends=('maven')
+source=("https://www.apache.org/dist/commons/lang/source/commons-lang3-$pkgver-src.tar.gz"{,.asc})
+sha512sums=('bf69e747a2ed1a0a1b67e5c0e7bdb2344f7d8b0a88e0b535d8bdee627cbdc7be769593b58b76c84149acbb6f284f9b125095ba5a9d222413c033d1b72e07ac98'
+ 'SKIP')
+validpgpkeys=('B6E73D84EA4FCC47166087253FAAD2CD5ECBB314') # Rob Tompkins <chtompki at apache.org>
+
+build() {
+ cd "commons-lang3-$pkgver-src"
+ mvn -Dmaven.repo.local="$srcdir/commons-lang3-$pkgver-src/.m2/repository" \
+ -Dmaven.test.skip=true \
+ -Drat.skip=true \
+ install
+}
+
+check() {
+ cd "commons-lang3-$pkgver-src"
+ mvn -Drat.skip=true test
+}
+
+package() {
+ cd "commons-lang3-$pkgver-src/target"
+ install -Dm644 "commons-lang3-$pkgver.jar" -t "$pkgdir/usr/share/java/commons-lang"
+ ln -s "commons-lang3-$pkgver.jar" "$pkgdir/usr/share/java/commons-lang/commons-lang.jar"
+}
More information about the arch-commits
mailing list