summaryrefslogtreecommitdiff
path: root/mercury-browser-avx2
diff options
context:
space:
mode:
Diffstat (limited to 'mercury-browser-avx2')
-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
+}