aboutsummaryrefslogblamecommitdiffstats
path: root/community/rmlmapper/APKBUILD
blob: 04dd424e0547d91d499180d429f58be9c5376fbb (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                      
             


                                                                          

                             



                                                            
                                                                                                                       















                                                                                          
                                                                                                                                                         

                                                                                                                                              
# Contributor: Dylan Van Assche <me@dylanvanassche.be>
# Maintainer: Dylan Van Assche <me@dylanvanassche.be>
pkgname=rmlmapper
pkgver=4.15.0
pkgrel=0
pkgdesc="Generate RDF from (semi-)structured data sources with RML rules."
url="https://github.com/RMLio/rmlmapper-java"
# riscv64 blocked by java-jdk
arch="all !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/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="
04b678305ca4fc133207c7fbf1b1caf00a8f5ce915d1b0812b2298a142a4b635e2cc51b164db130a11ae8ebcb278cc93bf996a0117805d30f897f384c8f87dde  rmlmapper-4.15.0.tar.gz
3c8033a4b5adffb1c15cac1e626a293f1727bf91f5dac649237805eecb74eb9d52193f29f0597c2ae888d841a75a5b30fca8bab6f78c6f645ef40c3c0f452c38  rmlmapper.sh
"