user/icedtea-web: fix desktop application

This commit is contained in:
Antoine Martin 2024-01-31 10:49:24 -05:00
parent be4b23bd94
commit df1ff99b07
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -3,7 +3,7 @@
pkgname=icedtea-web pkgname=icedtea-web
pkgver=2.0.0_alpha29 pkgver=2.0.0_alpha29
_pkgver=2.0.0-alpha29 _pkgver=2.0.0-alpha29
pkgrel=0 pkgrel=1
pkgdesc='Additional components for OpenJDK - Browser plug-in and Web Start implementation' pkgdesc='Additional components for OpenJDK - Browser plug-in and Web Start implementation'
url='https://github.com/AdoptOpenJDK/IcedTea-Web' url='https://github.com/AdoptOpenJDK/IcedTea-Web'
arch="x86_64" arch="x86_64"
@ -56,7 +56,7 @@ package() {
install -Dm 644 launchers/javaws.png -t "$pkgdir"/usr/share/pixmaps install -Dm 644 launchers/javaws.png -t "$pkgdir"/usr/share/pixmaps
for i in javaws.desktop.in itweb-settings.desktop.in policyeditor.desktop.in; do for i in javaws.desktop.in itweb-settings.desktop.in policyeditor.desktop.in; do
sed 's|PATH_TO_JAVAWS|/usr/bin/javaws|' launchers/xdesktop.in/$i > "$pkgdir"/usr/share/applications/$i sed 's|PATH_TO_JAVAWS|/usr/bin/javaws|' launchers/xdesktop.in/$i > "$pkgdir"/usr/share/applications/${i/.in/}
done done
## link binaries into /usr/bin + jre/bin ## link binaries into /usr/bin + jre/bin