# Contributor: Dylan Van Assche # Maintainer: Dylan Van Assche pkgname=rmlmapper pkgver=6.2.1 pkgrel=0 pkgdesc="Generate RDF from (semi-)structured data sources with RML rules." url="https://github.com/RMLio/rmlmapper-java" # Blocked by java-jdk arch="all !x86 !armhf !armv7 !riscv64" options="!check" # testsuite needs proprietary Oracle DB jar license="MIT" depends="openjdk11 java-jre-headless" makedepends="maven java-jdk" source="$pkgname-$pkgver.tar.gz::https://github.com/RMLio/rmlmapper-java/archive/v$pkgver/rmlmapper-java-$pkgver.tar.gz rmlmapper.sh " builddir="$pkgname-java-$pkgver" build() { mvn install -DskipTests=true -Dmaven.buildNumber.skip=true } package() { install -Dm644 "$srcdir/$pkgname-java-$pkgver/target/$pkgname-$pkgver-"*-all.jar \ "$pkgdir"/usr/share/java/$pkgname.jar install -Dm755 "$srcdir"/rmlmapper.sh \ "$pkgdir"/usr/bin/rmlmapper } sha512sums=" ea04677a84130177d7066314e305dd9e67fc4c4de6b1f79c3d9ef4c31350bd2074c48dec309978a7780c8a2bd094b33a9317957fca3c1ba1788daec78dc4a080 rmlmapper-6.2.1.tar.gz 3c8033a4b5adffb1c15cac1e626a293f1727bf91f5dac649237805eecb74eb9d52193f29f0597c2ae888d841a75a5b30fca8bab6f78c6f645ef40c3c0f452c38 rmlmapper.sh "