blob: d78087c655538cdba2a2272102115aaf042093c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.
|