aboutsummaryrefslogtreecommitdiffstats
path: root/community/rmlmapper/APKBUILD
blob: 850b57c2f98237fc290316e191d58d1be0f2b653 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Dylan Van Assche <me@dylanvanassche.be>
# Maintainer: Dylan Van Assche <me@dylanvanassche.be>
pkgname=rmlmapper
pkgver=4.13.0
pkgrel=0
pkgdesc="Generate RDF from (semi-)structured data sources with RML rules."
url="https://github.com/RMLio/rmlmapper-java"
# mips64 and riscv64 blocked by java-jdk
arch="all !mips64 !riscv64"
options="!check" # testsuite needs proprietary Oracle DB jar
license="MIT"
depends="java-jre-headless"
makedepends="maven java-jdk"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/RMLio/rmlmapper-java/archive/refs/tags/v$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="
ee29a8bacef83273b375a5d1a1d35cefb534afcd898bdd1cf1eba317a431722e4292315d7c3928282af91cf3d06d8ea86af927ff87b7dedda4cb634e7307be71  rmlmapper-4.13.0.tar.gz
3c8033a4b5adffb1c15cac1e626a293f1727bf91f5dac649237805eecb74eb9d52193f29f0597c2ae888d841a75a5b30fca8bab6f78c6f645ef40c3c0f452c38  rmlmapper.sh
"