summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgesang <gesang@itinerariummentis.org>2024-04-19 05:16:18 +0200
committergesang <gesang@itinerariummentis.org>2024-04-19 05:16:18 +0200
commitac74225375835216c5fb2b61a75b4ad7b18e9552 (patch)
tree635f099bad89fc049bcce8d7586306f7d75f4e98
parent6c99ea9b11efc6e08e68ccff1d1ae2e38c9a6754 (diff)
add palemoon
-rw-r--r--palemoon-gtk3/template64
1 files changed, 64 insertions, 0 deletions
diff --git a/palemoon-gtk3/template b/palemoon-gtk3/template
new file mode 100644
index 0000000..9194733
--- /dev/null
+++ b/palemoon-gtk3/template
@@ -0,0 +1,64 @@
+# Template file for 'mercury-browser-avx2'
+pkgname=palemoon-gtk3
+version=33.0.2
+revision=1
+archs="x86_64"
+#build_wrksrc=
+#build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends="ffmpeg alsa-lib dbus-glib libnotify gtk+3"
+short_desc="Palemoon Browser"
+maintainer="gesang <gesang@itinerariummentis.org>"
+license="MPL-2.0"
+homepage="https://www.palemoon.org/"
+nostrip_files="palemoon palemoon-bin plugin-container updater"
+#changelog=""
+distfiles=https://rm-eu.palemoon.org/release/palemoon-${version}.linux-x86_64-gtk3.tar.xz
+checksum=0272d50bac817134de84fdbe23f458d06ebb82b233fa613e5f025fa5adde746e
+
+do_install(){
+ cd ${wrksrc}
+ install -Dvm644 /dev/stdin ${wrksrc}/${pkgname}.desktop <<END
+[Desktop Entry]
+Version=${version}
+Name=Palemoon Browser
+Comment=Browse the World Wide Web
+GenericName=Web Browser
+Keywords=Internet;WWW;Browser;Web;Explorer;Mercury
+Exec=/opt/palemoon-browser/palemoon-bin %u
+StartupWMClass=palemoon-default
+Terminal=false
+X-MultipleArgs=true
+Type=Application
+Icon=$pkgname
+Categories=Network;WebBrowser;
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
+StartupNotify=true
+Actions=NewWindow;NewPrivateWindow;TempUserDir;
+
+[Desktop Action NewWindow]
+Name=New Window
+Exec=/opt/palemoon-browser/palemoon-bin -new-window
+
+[Desktop Action NewPrivateWindow]
+Name=New Private Window
+Exec=/opt/palemoon-browser/palemoon-bin -private-window
+
+[Desktop Action TempUserDir]
+Name=Open With Temporary User Profile
+Exec=/opt/palemoon-browser/palemoon-bin --temp-profile
+END
+
+ mkdir -p ${DESTDIR}/opt/palemoon-browser
+ mkdir -p ${DESTDIR}/usr/bin
+ mkdir -p ${DESTDIR}/usr/share/applications
+ mv ${wrksrc}/${pkgname}.desktop ${DESTDIR}/usr/share/applications/${pkgname}.desktop
+ cp -r ${wrksrc}/* ${DESTDIR}/opt/palemoon-browser
+ ln -s /opt/palemoon-browser/palemoon-bin ${DESTDIR}/usr/bin/palemoon-bin
+}