# Maintainer: Lucas Werkmeister # TODO try to rip apart the fat jar and improve installation per https://wiki.archlinux.org/index.php/Java_package_guidelines pkgname=apache-jena-fuseki pkgver=4.10.0 pkgrel=1 pkgdesc='SPARQL server built on the Jena Java framework for building Semantic Web and Linked Data applications' arch=('any') url='https://jena.apache.org/' license=('Apache') depends=('java-runtime') # does not depend on apache-jena – included in the fat jar source=( "https://downloads.apache.org/jena/binaries/${pkgname}-${pkgver}.tar.gz" 'fuseki-server' ) sha512sums=( 'a4be52cc5f7f8767e362f893f28721f2887a3544ed779cd58fe0b32733575d97411b5a3bc2243995d6408e545bdefc5ab41c00b2c5d074df1dc0ca5063db5f83' 'SKIP' ) package() { cd "$pkgname-$pkgver" mkdir -p "$pkgdir/opt/${pkgname}/" "$pkgdir/usr/bin/" # install most files in /opt (yes, I know, I know :/ see TODO at the top) cp -r -t "$pkgdir/opt/${pkgname}/" fuseki-server.jar webapp/ # install our own binary into /usr/bin (ignore the one shipped by upstream) install -D -t "$pkgdir/usr/bin/" ../fuseki-server }