aboutsummaryrefslogtreecommitdiff
path: root/packages/zen-browser/template
blob: 00bb94314d2a3f84aa9fbb95ed3408634ec7e8c6 (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
# Template file for 'zen-browser'
pkgname=zen-browser
version=1.18.7b
revision=1
archs="x86_64"
hostmakedepends="tar xz"
short_desc="Minimalistic web browser"
maintainer="Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>"
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=7f8ed156cc7f69b7a4a4de7b50291f3dceb0966d30a8dbd941f7340643bad404

depends="libX11 libXcomposite libXdamage libXext libXfixes libXt libXtst libxkbcommon libxkbcommon-x11 libpng glib gtk+3"

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
}