reworked .m2 location and removed prepare()
This commit is contained in:
parent
dda8917982
commit
b473c4a58d
1 changed files with 8 additions and 7 deletions
|
@ -10,6 +10,8 @@ license="GNU-2.0-only"
|
|||
arch="noarch"
|
||||
depends="openjdk8"
|
||||
makedepends="maven"
|
||||
# net: fetches packages from Maven repos
|
||||
options="net"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/karakun/OpenWebStart/archive/refs/tags/v$pkgver.tar.gz
|
||||
https://github.com/AdoptOpenJDK/IcedTea-Web/archive/refs/tags/icedtea-web-$_icedteaver.tar.gz
|
||||
|
@ -18,23 +20,22 @@ source="
|
|||
"
|
||||
builddir="$srcdir/OpenWebStart-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
ln -s ../IcedTea-Web* IcedTea-Web
|
||||
}
|
||||
export MAVEN_ARGS="--batch-mode -Duser.home=$srcdir/.home"
|
||||
|
||||
build() {
|
||||
msg "Compiling IcedTea-Web v$_icedteaver"
|
||||
(
|
||||
cd IcedTea-Web
|
||||
cd "$srcdir"/IcedTea-Web*
|
||||
mvn clean install -DskipTests
|
||||
)
|
||||
mvn install -DskipTests
|
||||
msg "Compiling OpenWebStart v$pkgver"
|
||||
./mvnw install -DskipTests
|
||||
}
|
||||
|
||||
check() {
|
||||
msg "Testing IcedTea-Web v$_icedteaver"
|
||||
(
|
||||
cd IcedTea-Web
|
||||
cd "$srcdir"/IcedTea-Web*
|
||||
mvn test
|
||||
)
|
||||
msh "Testing OpenWebStart v$pkgver"
|
||||
|
|
Loading…
Reference in a new issue