From 57dc25502eca1193d7d852c3d1545fe5067efafa Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 22 Jun 2022 23:33:49 +0200 Subject: pcr: apiguardian: fix missing pom.xml While apiguardian uses Maven, there is no pom.xml but instead a build.gradle.kts file. I'm not sure if replacing the pom.xml with the build.gradle.kts is the right fix, but before it did complain: | ==> Starting package()... | install: cannot stat 'pom.xml': No such file or directory | ==> Tidying install... and now it doesn't complain anymore. Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/apiguardian/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcr/apiguardian/PKGBUILD b/pcr/apiguardian/PKGBUILD index e5bfa482d..d66bb0ba6 100644 --- a/pcr/apiguardian/PKGBUILD +++ b/pcr/apiguardian/PKGBUILD @@ -5,7 +5,7 @@ pkgname=apiguardian pkgver=1.1.2 -pkgrel=2 +pkgrel=3 pkgdesc='Java library that provides the `@API` annotation' arch=('any') url='https://apiguardian-team.github.io/apiguardian/docs/current/api/' @@ -45,7 +45,7 @@ package() { # Install Maven artifacts export DESTDIR=${pkgdir} jh mvn-install "org.apiguardian.api" "${pkgname}" ${pkgver} \ - pom.xml "${pkgname}.jar" "${pkgname}.jar" + build.gradle.kts "${pkgname}.jar" "${pkgname}.jar" ln -s "/usr/share/java/${_libname}.jar" \ "$pkgdir/usr/share/java/${_libname}-$pkgver.jar" -- cgit v1.2.3