[arch-commits] Commit in (4 files)
Jonas Witschel
diabonas at archlinux.org
Thu Oct 10 17:13:39 UTC 2019
Date: Thursday, October 10, 2019 @ 17:13:38
Author: diabonas
Revision: 514482
Move java-commons-lang 3.9 from the AUR to [community]
Added:
java-commons-lang/
java-commons-lang/repos/
java-commons-lang/trunk/
java-commons-lang/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: java-commons-lang/trunk/PKGBUILD
===================================================================
--- java-commons-lang/trunk/PKGBUILD (rev 0)
+++ java-commons-lang/trunk/PKGBUILD 2019-10-10 17:13:38 UTC (rev 514482)
@@ -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