aboutsummaryrefslogtreecommitdiff
path: root/packages/zen-browser/template
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zen-browser/template')
-rw-r--r--packages/zen-browser/template39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/zen-browser/template b/packages/zen-browser/template
new file mode 100644
index 0000000..d78087c
--- /dev/null
+++ b/packages/zen-browser/template
@@ -0,0 +1,39 @@
+# Template file for 'zen-browser'
+pkgname=zen-browser
+version=1.16.2b
+revision=1
+only_for_archs="x86_64"
+meta=yes
+hostmakedepends="tar xz"
+short_desc="Minimalistic web browser"
+maintainer="SalahDin Rezk <salah2112004@gmail.com>"
+license="MPL-2.0"
+homepage="https://www.zen-browser.app/"
+distfiles="https://github.com/zen-browser/desktop/releases/download/${version/a/-a}/zen.linux-x86_64.tar.xz"
+checksum=10976d3935327a3262157407e40e6bad9ae1db6fe7a80d2e97e70742e1047f68
+
+do_install() {
+ # Install the files
+ local package_location="usr/lib/$pkgname" item
+
+ vmkdir usr/share/pixmaps
+ vcopy browser/chrome/icons/default/default128.png usr/share/pixmaps/zen-browser.png
+ vmkdir usr/share/applications
+ vinstall ${FILESDIR}/zen-browser.desktop 644 usr/share/applications
+ vmkdir ${package_location}
+ chmod +x zen
+ vcopy * usr/lib/zen-browser
+
+ # link the binary
+ vmkdir usr/bin/
+ ln -sfr $DESTDIR/${package_location}/zen $DESTDIR/usr/bin/zen
+}
+
+# Add the necessary dependencies if there are any
+depends="libX11 libXcomposite libXdamage libXext libXfixes libXt libXtst \
+libxkbcommon libxkbcommon-x11 libpng glib gtk+3"
+
+# Specify any optional dependencies
+# makedepends="" # Uncomment and set if necessary
+
+# This template assumes precompiled binaries, so you don't need to build from source.