mirror of
https://aur.archlinux.org/brave-bin.git
synced 2025-09-24 07:29:30 +02:00
Move to a new name. Fall in line with opera and vivaldi.
This commit is contained in:
33
.SRCINFO
Normal file
33
.SRCINFO
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgbase = brave-bin
|
||||
pkgdesc = A web browser that stops ads and trackers by default. Binary release.
|
||||
pkgver = 0.8.3
|
||||
pkgrel = 1
|
||||
url = https://www.brave.com/
|
||||
install = brave-bin.install
|
||||
arch = x86_64
|
||||
license = custom:several
|
||||
depends = gtk2
|
||||
depends = nss
|
||||
depends = alsa-lib
|
||||
depends = libnotify
|
||||
depends = libgnome-keyring
|
||||
depends = libxtst
|
||||
depends = desktop-file-utils
|
||||
depends = ttf-font
|
||||
optdepends = cups: Printer support
|
||||
provides = brave
|
||||
provides = brave-browser
|
||||
conflicts = brave
|
||||
replaces = brave-bin
|
||||
options = !strip
|
||||
source = brave-bin-0.8.3.tar.bz2::https://github.com/brave/browser-laptop/releases/download/v0.8.3dev/Brave-Linux-x64.tar.bz2
|
||||
source = brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png
|
||||
source = MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt
|
||||
source = brave.desktop
|
||||
sha384sums = 8cc316249adb07c4b11a7d240b834d656d414de06ee5101eb6fab4ea079aec559b74b959647bc4b224cedf7b21656c77
|
||||
sha384sums = 850b39853a44cb86fca09c82a201ad9ac8d4c6938c82ad1cfffcb40a9b2868a15ebc80a1c7d7597e9dfedf0144584381
|
||||
sha384sums = b27caa103555393992e6e1de1c2663f3ecf8339054e1aee8961406c8cbc9d677ba78b4bab6efe7210143818f9207d16b
|
||||
sha384sums = f950675fb4a3f9e48374f8a2667e7a45889206a3062c8182e474143607fc26bd17e852a1ef494607dbd3ff4de325e05f
|
||||
|
||||
pkgname = brave-bin
|
||||
|
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
*~
|
||||
MPL2
|
||||
pkg/
|
||||
src/
|
||||
*.gz
|
||||
*.bz2
|
||||
*.xz
|
||||
*.lzo
|
||||
*.xz4
|
||||
*.tgz
|
||||
*.tbz
|
||||
*.txz
|
||||
*.tar
|
||||
*.jar
|
||||
*.zip
|
||||
*.png
|
49
PKGBUILD
Normal file
49
PKGBUILD
Normal file
@@ -0,0 +1,49 @@
|
||||
# Maintainer: Please see AUR package page for current maintainer(s) and contact information.
|
||||
|
||||
pkgname=brave-bin
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="A web browser that stops ads and trackers by default. Binary release."
|
||||
arch=('x86_64') # Upstream supports x86_64 only
|
||||
url="https://www.brave.com/"
|
||||
license=('custom:several')
|
||||
depends=('gtk2' 'nss' 'alsa-lib' 'libnotify' 'libgnome-keyring' 'libxtst' 'desktop-file-utils' 'ttf-font')
|
||||
optdepends=('cups: Printer support')
|
||||
provides=('brave' 'brave-browser')
|
||||
conflicts=('brave')
|
||||
replaces=('brave-bin')
|
||||
install=$pkgname.install
|
||||
source=("$pkgname-$pkgver.tar.bz2::https://github.com/brave/browser-laptop/releases/download/v"$pkgver"dev/Brave-Linux-x64.tar.bz2"
|
||||
"brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png"
|
||||
"MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt"
|
||||
"brave.desktop")
|
||||
options=(!strip)
|
||||
sha384sums=('8cc316249adb07c4b11a7d240b834d656d414de06ee5101eb6fab4ea079aec559b74b959647bc4b224cedf7b21656c77'
|
||||
'850b39853a44cb86fca09c82a201ad9ac8d4c6938c82ad1cfffcb40a9b2868a15ebc80a1c7d7597e9dfedf0144584381'
|
||||
'b27caa103555393992e6e1de1c2663f3ecf8339054e1aee8961406c8cbc9d677ba78b4bab6efe7210143818f9207d16b'
|
||||
'f950675fb4a3f9e48374f8a2667e7a45889206a3062c8182e474143607fc26bd17e852a1ef494607dbd3ff4de325e05f')
|
||||
|
||||
|
||||
package() {
|
||||
install -d -m0755 "$pkgdir"/usr/lib
|
||||
|
||||
cp -a --reflink=auto "$srcdir"/Brave-linux-x64 "$pkgdir"/usr/lib/brave
|
||||
|
||||
install -d -m0755 "$pkgdir"/usr/bin
|
||||
|
||||
ln -s /usr/lib/brave/brave "$pkgdir"/usr/bin/brave
|
||||
|
||||
install -dm0755 "$pkgdir"/usr/share/applications
|
||||
|
||||
cp --reflink=auto "$startdir"/brave.desktop "$pkgdir"/usr/share/applications/brave.desktop
|
||||
|
||||
install -dm0755 "$pkgdir"/usr/share/pixmaps
|
||||
|
||||
cp --reflink=auto "$srcdir"/brave.png "$pkgdir"/usr/share/pixmaps/
|
||||
|
||||
install -d -m0755 "$pkgdir"/usr/share/licenses/brave
|
||||
|
||||
cp --reflink=auto "$srcdir"/MPL2 "$pkgdir"/usr/share/licenses/brave/MPL2
|
||||
|
||||
mv "$pkgdir"/usr/lib/brave/{LICENSE,LICENSES.chromium.html} "$pkgdir"/usr/share/licenses/brave
|
||||
}
|
25
brave-bin.install
Normal file
25
brave-bin.install
Normal file
@@ -0,0 +1,25 @@
|
||||
pkgname=brave-browser-bin
|
||||
|
||||
post_install() {
|
||||
# /usr/sbin/gconfpkg --install "$pkgname"
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
pre_remove "$1"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install "$1"
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
#/usr/sbin/gconfpkg --uninstall "$pkgname"
|
||||
exit 0
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
116
brave.desktop
Normal file
116
brave.desktop
Normal file
@@ -0,0 +1,116 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Brave
|
||||
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
|
||||
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=متصفح الشبكة
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=WWW prohlížeč
|
||||
GenericName[da]=Browser
|
||||
GenericName[de]=Web-Browser
|
||||
GenericName[el]=Περιηγητής ιστού
|
||||
GenericName[en_GB]=Web Browser
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser Web
|
||||
GenericName[ja]=ウェブブラウザ
|
||||
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūks
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
||||
GenericName[mr]=वेब ब्राऊजर
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador da Internet
|
||||
GenericName[ro]=Navigator de Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[uk]=Навігатор Тенет
|
||||
GenericName[zh_CN]=网页浏览器
|
||||
GenericName[zh_HK]=網頁瀏覽器
|
||||
GenericName[zh_TW]=網頁瀏覽器
|
||||
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[fil]=Web Browser
|
||||
GenericName[hr]=Web preglednik
|
||||
GenericName[id]=Browser Web
|
||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
||||
GenericName[sk]=WWW prehliadač
|
||||
GenericName[sr]=Интернет прегледник
|
||||
GenericName[te]=మహాతల అన్వేషి
|
||||
GenericName[vi]=Bộ duyệt Web
|
||||
# Gnome and KDE 3 uses Comment.
|
||||
Comment=Access the Internet
|
||||
Comment[ar]=الدخول إلى الإنترنت
|
||||
Comment[bg]=Достъп до интернет
|
||||
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
|
||||
Comment[ca]=Accedeix a Internet
|
||||
Comment[cs]=Přístup k internetu
|
||||
Comment[da]=Få adgang til internettet
|
||||
Comment[de]=Internetzugriff
|
||||
Comment[el]=Πρόσβαση στο Διαδίκτυο
|
||||
Comment[en_GB]=Access the Internet
|
||||
Comment[es]=Accede a Internet.
|
||||
Comment[et]=Pääs Internetti
|
||||
Comment[fi]=Käytä internetiä
|
||||
Comment[fil]=I-access ang Internet
|
||||
Comment[fr]=Accéder à Internet
|
||||
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
|
||||
Comment[he]=גישה אל האינטרנט
|
||||
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
|
||||
Comment[hr]=Pristup Internetu
|
||||
Comment[hu]=Internetelérés
|
||||
Comment[id]=Akses Internet
|
||||
Comment[it]=Accesso a Internet
|
||||
Comment[ja]=インターネットにアクセス
|
||||
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
|
||||
Comment[ko]=인터넷 연결
|
||||
Comment[lt]=Interneto prieiga
|
||||
Comment[lv]=Piekļūt internetam
|
||||
Comment[ml]=ഇന്റര്നെറ്റ് ആക്സസ് ചെയ്യുക
|
||||
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
|
||||
Comment[nb]=Gå til Internett
|
||||
Comment[nl]=Verbinding maken met internet
|
||||
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
|
||||
Comment[pl]=Skorzystaj z internetu
|
||||
Comment[pt]=Aceder à Internet
|
||||
Comment[pt_BR]=Acessar a internet
|
||||
Comment[ro]=Accesaţi Internetul
|
||||
Comment[ru]=Доступ в Интернет
|
||||
Comment[sk]=Prístup do siete Internet
|
||||
Comment[sl]=Dostop do interneta
|
||||
Comment[sr]=Приступите Интернету
|
||||
Comment[sv]=Gå ut på Internet
|
||||
Comment[ta]=இணையத்தை அணுகுதல்
|
||||
Comment[te]=ఇంటర్నెట్ను ఆక్సెస్ చెయ్యండి
|
||||
Comment[th]=เข้าถึงอินเทอร์เน็ต
|
||||
Comment[tr]=İnternet'e erişin
|
||||
Comment[uk]=Доступ до Інтернету
|
||||
Comment[vi]=Truy cập Internet
|
||||
Comment[zh_CN]=访问互联网
|
||||
Comment[zh_HK]=連線到網際網路
|
||||
Comment[zh_TW]=連線到網際網路
|
||||
StartupNotify=true
|
||||
StartupWMClass=Brave
|
||||
TryExec=brave
|
||||
Exec=brave %U
|
||||
Terminal=false
|
||||
Icon=brave
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
|
Reference in New Issue
Block a user