user/icedtea-web: fix desktop application #380

Merged
ayakael merged 1 commit from icedtea-web/fix-desktop into edge 2024-01-31 15:55:48 +00:00

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