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
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'
url='https://github.com/AdoptOpenJDK/IcedTea-Web'
arch="x86_64"
@ -56,7 +56,7 @@ package() {
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
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
## link binaries into /usr/bin + jre/bin