mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
138.0.7204.300
This commit is contained in:
parent
5a32175b89
commit
daa1b4fe8b
4 changed files with 26 additions and 34 deletions
10
.SRCINFO
10
.SRCINFO
|
|
@ -1,17 +1,17 @@
|
|||
pkgbase = thorium-browser-bin
|
||||
pkgdesc = Chromium fork focused on high performance and security
|
||||
pkgver = 138.0.7204.193
|
||||
pkgver = 138.0.7204.300
|
||||
pkgrel = 1
|
||||
url = https://github.com/Alex313031/Thorium
|
||||
url = https://github.com/Alex313031/thorium
|
||||
install = thorium-browser.install
|
||||
arch = x86_64
|
||||
license = BSD-3-Clause
|
||||
noextract = thorium-browser_138.0.7204.193_BETA_1.deb
|
||||
noextract = thorium-browser_138.0.7204.300_SSE3.deb
|
||||
options = !emptydirs
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = https://github.com/Alex313031/Thorium/releases/download/M138Beta1/thorium-browser_138.0.7204.193_BETA_1.deb
|
||||
sha256sums = 01658c59de246806bb15dd75c4787bdf440ebfa70dc7401e20c6dc7656a51148
|
||||
source = https://github.com/Alex313031/thorium/releases/download/M138.0.7204.300/thorium-browser_138.0.7204.300_SSE3.deb
|
||||
sha256sums = 24ec07b74fb2f920fdca16b909f917131bcc6d2cec873546a92e5269ac838b58
|
||||
|
||||
pkgname = thorium-browser-bin
|
||||
depends = alsa-lib
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[thorium-browser-bin]
|
||||
source = "git"
|
||||
git = "https://github.com/Alex313031/Thorium.git"
|
||||
prefix = "M"
|
||||
source = "regex"
|
||||
url = "https://github.com/Alex313031/thorium/releases"
|
||||
regex = "thorium-browser_([0-9.]+)_SSE3\\.deb"
|
||||
|
|
|
|||
19
PKGBUILD
19
PKGBUILD
|
|
@ -5,10 +5,10 @@
|
|||
_pkgname="thorium-browser"
|
||||
pkgname="$_pkgname-bin"
|
||||
pkgbase="$pkgname"
|
||||
pkgver=138.0.7204.193
|
||||
pkgver=138.0.7204.300
|
||||
pkgrel=1
|
||||
pkgdesc="Chromium fork focused on high performance and security"
|
||||
url="https://github.com/Alex313031/Thorium"
|
||||
url="https://github.com/Alex313031/thorium"
|
||||
license=('BSD-3-Clause')
|
||||
arch=('x86_64')
|
||||
|
||||
|
|
@ -16,15 +16,15 @@ options=('!emptydirs' '!strip' '!debug')
|
|||
|
||||
install="$_pkgname.install"
|
||||
|
||||
_dl_url="$url/releases/download/M138Beta1"
|
||||
_dl_filename="${_pkgname}_${pkgver}_BETA_1.deb"
|
||||
_dl_url="$url/releases/download/M${pkgver}"
|
||||
_dl_filename="${_pkgname}_${pkgver}_SSE3.deb"
|
||||
noextract+=("$_dl_filename")
|
||||
|
||||
source=("$_dl_url/$_dl_filename")
|
||||
sha256sums=('01658c59de246806bb15dd75c4787bdf440ebfa70dc7401e20c6dc7656a51148')
|
||||
sha256sums=('24ec07b74fb2f920fdca16b909f917131bcc6d2cec873546a92e5269ac838b58')
|
||||
|
||||
prepare() {
|
||||
install -Dvm644 /dev/stdin "$_pkgname.sh" << END
|
||||
install -Dm644 /dev/stdin "$_pkgname.sh" << END
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check microprocessor architecture level
|
||||
|
|
@ -102,11 +102,8 @@ package() {
|
|||
-i "$pkgdir/usr/share/gnome-control-center/default-apps/thorium-browser.xml"
|
||||
|
||||
# Icons
|
||||
for i in 16 24 32 48 64 128 256; do
|
||||
install -Dm644 "$pkgdir/opt/$_pkgname/product_logo_${i}.png" \
|
||||
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$_pkgname.png"
|
||||
done
|
||||
|
||||
install -Dm644 "$pkgdir/opt/$_pkgname/product_logo_256.png" \
|
||||
"$pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png"
|
||||
install -Dm644 "$pkgdir/opt/$_pkgname/thorium_shell.png" \
|
||||
"$pkgdir/usr/share/icons/hicolor/256x256/apps/thorium-shell.png"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,26 +1,21 @@
|
|||
# Colored makepkg-like functions
|
||||
msg_blue() {
|
||||
printf "${BLUE}==>${BOLD} $1${ALL_OFF}\n"
|
||||
}
|
||||
|
||||
note1() {
|
||||
printf "${BLUE}==>${YELLOW} NOTE:${WHITE} $1${ALL_OFF}\n"
|
||||
printf "${BOLD}${BLUE}==>${YELLOW} NOTE:${ALL_OFF}${WHITE} $1${ALL_OFF}\n"
|
||||
}
|
||||
|
||||
note2() {
|
||||
printf "${BLUE}==> ${WHITE} $1${ALL_OFF}\n"
|
||||
printf "${BOLD}${BLUE}==> ${ALL_OFF}${WHITE} $1${ALL_OFF}\n"
|
||||
}
|
||||
|
||||
ALL_OFF="$(tput sgr0)"
|
||||
BOLD="${ALL_OFF}$(tput bold)"
|
||||
BLACK="${BOLD}$(tput setaf 0)"
|
||||
RED="${BOLD}$(tput setaf 1)"
|
||||
GREEN="${BOLD}$(tput setaf 2)"
|
||||
YELLOW="${BOLD}$(tput setaf 3)"
|
||||
BLUE="${BOLD}$(tput setaf 4)"
|
||||
MAGENTA="${BOLD}$(tput setaf 5)"
|
||||
CYAN="${BOLD}$(tput setaf 6)"
|
||||
WHITE="${BOLD}$(tput setaf 7)"
|
||||
BLACK="$(tput setaf 0)"
|
||||
RED="$(tput setaf 1)"
|
||||
GREEN="$(tput setaf 2)"
|
||||
YELLOW="$(tput setaf 3)"
|
||||
BLUE="$(tput setaf 4)"
|
||||
MAGENTA="$(tput setaf 5)"
|
||||
CYAN="$(tput setaf 6)"
|
||||
WHITE="$(tput setaf 7)"
|
||||
|
||||
post_install() {
|
||||
if grep -qsE '\bpni\b' /proc/cpuinfo ; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue