mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 15:29:38 +01:00
Updated to ${latest_version}
This commit is contained in:
commit
96c40e59f5
5 changed files with 146 additions and 0 deletions
34
.SRCINFO
Normal file
34
.SRCINFO
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
pkgbase = zen-twilight-bin
|
||||
pkgdesc = Performance oriented Firefox-based web browser (Unstable)
|
||||
pkgver = 66fc824
|
||||
pkgrel = 1
|
||||
url = https://github.com/zen-browser/desktop
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
license = MPL-2.0
|
||||
depends = gtk3
|
||||
depends = libxt
|
||||
depends = mime-types
|
||||
depends = dbus-glib
|
||||
depends = nss
|
||||
depends = ttf-font
|
||||
depends = systemd
|
||||
optdepends = ffmpeg: H264/AAC/MP3 decoding
|
||||
optdepends = networkmanager: Location detection via available WiFi networks
|
||||
optdepends = libnotify: Notification integration
|
||||
optdepends = pulseaudio: Audio support
|
||||
optdepends = speech-dispatcher: Text-to-Speech
|
||||
optdepends = hunspell-en_US: Spell checking, American English
|
||||
provides = zen-twilight=66fc824
|
||||
conflicts = zen-twilight
|
||||
options = !strip
|
||||
source = zen-browser-twilight.tar.bz2::https://github.com/zen-browser/desktop/releases/download/twilight/zen.linux-generic.tar.bz2
|
||||
source = zen-twilight.sh
|
||||
source = zen-twilight.desktop
|
||||
source = policies.json
|
||||
sha256sums = 4ca7cc582a9aebf778d247033d852905d3e5051ad33ed76f870c5510000a5352
|
||||
sha256sums = e0dcdb6b380933c8e81270a28a3c8d689265e8ed0c3af45f58ff388c2f8d7686
|
||||
sha256sums = 9f4feeccb229c94a08d23055b92d7e8d5e36515b8026929259a37a26b0c43eda
|
||||
sha256sums = f93eb77db526147a8a20744905923a6eda79e2fbcc9f282e2f9228a7a995c798
|
||||
|
||||
pkgname = zen-twilight-bin
|
||||
65
PKGBUILD
Normal file
65
PKGBUILD
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Maintainer: Luis Vervaet <luisvervaet@gmail.com>
|
||||
|
||||
pkgname=zen-twilight-bin
|
||||
_pkgname=zen-twilight
|
||||
_realpkgver=twilight
|
||||
_desktopname=zen-twilight
|
||||
pkgver=66fc824
|
||||
pkgrel=1
|
||||
pkgdesc="Performance oriented Firefox-based web browser (Unstable)"
|
||||
arch=('x86_64' 'i686')
|
||||
url="https://github.com/zen-browser/desktop"
|
||||
license=(MPL-2.0)
|
||||
depends=(gtk3 libxt mime-types dbus-glib nss ttf-font systemd)
|
||||
optdepends=('ffmpeg: H264/AAC/MP3 decoding'
|
||||
'networkmanager: Location detection via available WiFi networks'
|
||||
'libnotify: Notification integration'
|
||||
'pulseaudio: Audio support'
|
||||
'speech-dispatcher: Text-to-Speech'
|
||||
'hunspell-en_US: Spell checking, American English')
|
||||
options=(!strip)
|
||||
provides=("zen-twilight=$pkgver")
|
||||
conflicts=('zen-twilight')
|
||||
|
||||
source=("zen-browser-$_realpkgver.tar.bz2::https://github.com/zen-browser/desktop/releases/download/$_realpkgver/zen.linux-generic.tar.bz2"
|
||||
"$_pkgname.sh"
|
||||
"$_desktopname.desktop"
|
||||
"policies.json")
|
||||
sha256sums=('4ca7cc582a9aebf778d247033d852905d3e5051ad33ed76f870c5510000a5352'
|
||||
'e0dcdb6b380933c8e81270a28a3c8d689265e8ed0c3af45f58ff388c2f8d7686'
|
||||
'9f4feeccb229c94a08d23055b92d7e8d5e36515b8026929259a37a26b0c43eda'
|
||||
'f93eb77db526147a8a20744905923a6eda79e2fbcc9f282e2f9228a7a995c798')
|
||||
|
||||
package() {
|
||||
# Create directories
|
||||
mkdir -p "$pkgdir"/usr/bin
|
||||
mkdir -p "$pkgdir"/usr/share/applications
|
||||
mkdir -p "$pkgdir"/opt
|
||||
|
||||
# Install
|
||||
cp -r zen/ "$pkgdir"/opt/$pkgname
|
||||
|
||||
# Launchers
|
||||
install -m755 $_pkgname.sh "$pkgdir"/usr/bin/$_pkgname
|
||||
|
||||
# Desktops
|
||||
install -m644 *.desktop "$pkgdir"/usr/share/applications/
|
||||
|
||||
# Icons
|
||||
for i in 16x16 32x32 48x48 64x64 128x128; do
|
||||
install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
|
||||
ln -s /opt/$pkgname/browser/chrome/icons/default/default${i/x*}.png \
|
||||
"$pkgdir"/usr/share/icons/hicolor/$i/apps/$_pkgname.png
|
||||
done
|
||||
|
||||
# Use system-provided dictionaries
|
||||
ln -Ts /usr/share/hunspell "$pkgdir"/opt/$pkgname/dictionaries
|
||||
ln -Ts /usr/share/hyphen "$pkgdir"/opt/$pkgname/hyphenation
|
||||
|
||||
# Use system certificates
|
||||
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/$pkgname/libnssckbi.so
|
||||
|
||||
# Disable update checks (managed by pacman)
|
||||
mkdir "$pkgdir"/opt/$pkgname/distribution
|
||||
install -m644 "$srcdir"/policies.json "$pkgdir"/opt/$pkgname/distribution/
|
||||
}
|
||||
18
policies.json
Normal file
18
policies.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"policies": {
|
||||
"DisableAppUpdate": true,
|
||||
"Homepage": {
|
||||
"URL": "https://zen-browser.app/",
|
||||
"Locked": false
|
||||
},
|
||||
"SearchEngines": {
|
||||
"Default": "DuckDuckGo",
|
||||
"PreventInstalls": true
|
||||
},
|
||||
"DNSOverHTTPS": {
|
||||
"Enabled": true,
|
||||
"Locked": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
26
zen-twilight.desktop
Normal file
26
zen-twilight.desktop
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[Desktop Entry]
|
||||
Name=Zen Browser Twilight
|
||||
Comment=Experience tranquillity while browsing the web without people tracking you!
|
||||
Exec=/opt/zen-browser-bin-git/zen-bin %u
|
||||
Icon=zen-twilight
|
||||
Type=Application
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
|
||||
StartupWMClass=zen-twilight
|
||||
Categories=Network;WebBrowser;
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Keywords=Internet;WWW;Browser;Web;Explorer;
|
||||
Actions=new-window;new-private-window;profilemanager;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Exec=/opt/zen-browser-bin-git/zen-bin %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Exec=/opt/zen-browser-bin-git/zen-bin --private-window %u
|
||||
|
||||
[Desktop Action profilemanager]
|
||||
Name=Open the Profile Manager
|
||||
Exec=/opt/zen-browser-bin-git/zen-bin --ProfileManager %u
|
||||
3
zen-twilight.sh
Normal file
3
zen-twilight.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec /opt/zen-browser-bin-git/zen-bin "$@"
|
||||
Loading…
Add table
Reference in a new issue