summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-02 22:48:09 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-02 23:00:21 +0200
commit9eed8ea6bfc274b8db0b93ddcd00b30d4604d210 (patch)
tree0671971df24a339e7e9cb65bbedeac19b18d9e7f /libre
parent4cba82996de2d190f4dea963fd4f3393950bf75d (diff)
downloadabslibre-9eed8ea6bfc274b8db0b93ddcd00b30d4604d210.tar.gz
abslibre-9eed8ea6bfc274b8db0b93ddcd00b30d4604d210.tar.bz2
abslibre-9eed8ea6bfc274b8db0b93ddcd00b30d4604d210.zip
libre: add java-resolver from Arch
We need java-resolver for building (new versions) of java-xmlgraphics-commons. However Arch Linux removed it, so we need to import it to build it. As for the reason why it was removed in Arch, it's not clear: the last two commits removing it do not really contain any explanations: commit e066cffa541c37d1bca201128bd862118bf0da54 Author: arojas <arojas@eb2447ed-0c53-47e4-bac8-5bc4a241df78> Date: Sat May 8 08:55:46 2021 +0000 Spring '21 cleanup git-svn-id: file:///srv/repos/svn-packages/svn@414619 eb2447ed-0c53-47e4-bac8-5bc4a241df78 commit 880fca2ca92074d126c313338634e2468a20ad0e Author: arojas <arojas@eb2447ed-0c53-47e4-bac8-5bc4a241df78> Date: Sat May 8 08:55:43 2021 +0000 db-remove: java-resolver removed by arojas git-svn-id: file:///srv/repos/svn-packages/svn@414618 eb2447ed-0c53-47e4-bac8-5bc4a241df78 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre')
-rw-r--r--libre/java-resolver/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/java-resolver/PKGBUILD b/libre/java-resolver/PKGBUILD
new file mode 100644
index 000000000..bc5701af9
--- /dev/null
+++ b/libre/java-resolver/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer(Arch): Guillaume ALAUX <guillaume@archlinux.org>
+_libname=xml-commons-resolver
+pkgname=java-resolver
+pkgver=1.2
+pkgrel=4
+pkgdesc="XML entity and URI resolver library"
+arch=('any')
+url="https://xml.apache.org/commons/components/resolver/"
+license=('APACHE')
+depends=('java-runtime-headless')
+makedepends=('apache-ant')
+checkdepends=('apache-ant')
+source=(https://archive.apache.org/dist/xml/commons/${_libname}-${pkgver}.tar.gz{,.sig})
+sha512sums=('0c91057da3198fc488c7b2c20afb029aa4441ad979159c378d532b02caa294d27e730ae2f9857062af5e3815a603a6110c5441dd3fe6b36c342a78beac3c8a6f'
+ 'SKIP')
+validpgpkeys=('72F633CEAF1BEA18FAD0BB99FD49C07AC0926B13') # Michael Glavassevich <mrglavas@ca.ibm.com>
+
+build() {
+ cd ${_libname}-${pkgver}
+ ant \
+ -f resolver.xml \
+ jar
+}
+
+check() {
+ cd ${_libname}-${pkgver}
+ ant \
+ -f resolver.xml \
+ check
+}
+
+package() {
+ cd ${_libname}-${pkgver}/build
+ install -Dm644 resolver.jar "${pkgdir}"/usr/share/java/resolver-${pkgver}.jar
+ ln -s resolver-${pkgver}.jar "${pkgdir}"/usr/share/java/resolver.jar
+}