summaryrefslogtreecommitdiff
path: root/mercury-browser-avx2/template
diff options
context:
space:
mode:
authorgesang <gesang@itinerariummentis.org>2024-04-19 04:37:55 +0200
committergesang <gesang@itinerariummentis.org>2024-04-19 04:37:55 +0200
commit012a7cc24e4f966b2ccddf1c3f75c5fe05c6633a (patch)
tree407216f1ad80fcc93b1cf9393a637ec202f5f9e8 /mercury-browser-avx2/template
parent410bfa5cb031228a2672e5823faa1840a1f6b5af (diff)
add mercury browser
Diffstat (limited to 'mercury-browser-avx2/template')
-rw-r--r--mercury-browser-avx2/template63
1 files changed, 63 insertions, 0 deletions
diff --git a/mercury-browser-avx2/template b/mercury-browser-avx2/template
new file mode 100644
index 0000000..23acf49
--- /dev/null
+++ b/mercury-browser-avx2/template
@@ -0,0 +1,63 @@
+# Template file for 'mercury-browser-avx2'
+pkgname=mercury-browser-avx2
+version=123.0.1
+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="unzip"
+makedepends=""
+depends="ffmpeg alsa-lib dbus-glib libnotify gtk+3"
+short_desc="Mercury Browser"
+maintainer="gesang <gesang@itinerariummentis.org>"
+license="GPL-3.0-or-later"
+homepage="https://thorium.rocks/mercury"
+#changelog=""
+distfiles=https://github.com/Alex313031/Mercury/releases/download/v.${version}/mercury_${version}_linux_AVX2.zip
+checksum=886311c29477ba830aa6875b0be4315e0e9fb853a44a08e649174239d2c33ed5
+
+do_install(){
+ cd ${wrksrc}
+ install -Dvm644 /dev/stdin ${wrksrc}/${pkgname}.desktop <<END
+[Desktop Entry]
+Version=${version}
+Name=Mercury Browser
+Comment=Browse the World Wide Web
+GenericName=Web Browser
+Keywords=Internet;WWW;Browser;Web;Explorer;Mercury
+Exec=/opt/mercury-browser/mercury/mercury-bin %u
+StartupWMClass=mercury-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/mercury-browser/mercury/mercury-bin -new-window
+
+[Desktop Action NewPrivateWindow]
+Name=New Private Window
+Exec=/opt/mercury-browser/mercury/mercury-bin -private-window
+
+[Desktop Action TempUserDir]
+Name=Open With Temporary User Profile
+Exec=/opt/mercury-browser/mercury/mercury-bin --temp-profile
+END
+
+ mkdir -p ${DESTDIR}/opt/mercury-browser
+ mkdir -p ${DESTDIR}/usr/bin
+ mkdir -p ${DESTDIR}/usr/share/applications
+ cp -r ${wrksrc}/mercury ${DESTDIR}/opt/mercury-browser
+ cp -r ${wrksrc}/${pkgname}.desktop ${DESTDIR}/usr/share/applications/${pkgname}.desktop
+ ln -s /opt/mercury-browser/mercury/mercury-bin ${DESTDIR}/usr/bin/mercury-bin
+}