summaryrefslogtreecommitdiff
path: root/pcr/apiguardian/PKGBUILD
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-22 23:33:49 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-22 23:35:22 +0200
commit57dc25502eca1193d7d852c3d1545fe5067efafa (patch)
tree6abb21c72971ac2eea78ff14ed7270bc1a8bad55 /pcr/apiguardian/PKGBUILD
parent939153f112c2831f7dd00863b5ee2e2bd8f1c840 (diff)
downloadabslibre-57dc25502eca1193d7d852c3d1545fe5067efafa.tar.gz
abslibre-57dc25502eca1193d7d852c3d1545fe5067efafa.tar.bz2
abslibre-57dc25502eca1193d7d852c3d1545fe5067efafa.zip
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/apiguardian/PKGBUILD')
-rw-r--r--pcr/apiguardian/PKGBUILD4
1 files 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"