use same sh files as upstream

This commit is contained in:
Antoine Martin 2024-01-30 15:56:38 -05:00
parent f6e85665ff
commit dda8917982
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -28,10 +28,6 @@ build() {
cd IcedTea-Web
mvn clean install -DskipTests
)
(
cd IcedTea-Web/launchers
JRE=/usr/lib/jvm/java-1.8-openjdk/jre bash ./build.sh
)
mvn install -DskipTests
}
@ -49,8 +45,8 @@ package() {
install -dm755 "$pkgdir"/usr/lib/openwebstart
install -Dm755 "$builddir"/IcedTea-Web/launchers/target/bin/javaws "$pkgdir"/usr/lib/openwebstart/javaws
install -Dm755 "$builddir"/IcedTea-Web/launchers/target/bin/itweb-settings "$pkgdir"/usr/lib/openwebstart/itw-settings
install -Dm755 "$srcdir"/javaws.sh "$pkgdir"/usr/lib/openwebstart/javaws
install -Dm755 "$srcdir"/itw-settings.sh "$pkgdir"/usr/lib/openwebstart/itw-settings
install -Dm644 "$builddir"/openwebstart/target/openwebstart-$pkgver.jar "$pkgdir"/usr/lib/openwebstart/openwebstart.jar
install -Dm644 "$builddir"/openwebstart/src/main/resources/com/openwebstart/ui/app-512.png "$pkgdir"/usr/lib/openwebstart/Icon-512.png
install -Dm644 "$builddir"/openwebstart/src/main/resources/com/openwebstart/app/icon/default-icon-512.png "$pkgdir"/usr/lib/openwebstart/App-Icon-512.png