arch package updates

This commit is contained in:
Alexander Frick 2023-04-28 16:09:58 -05:00
parent 0af2aa29d1
commit 48db127c71
3 changed files with 17 additions and 16 deletions

View file

@ -1,7 +1,7 @@
pkgbase = thorium-browser-bin
pkgdesc = Chromium fork focused on high performance and security.
pkgver = 109.0.5414.120
pkgrel = 1
pkgver = 111.0.5563.111
pkgrel = 2
url = https://github.com/Alex313031/Thorium
install = thorium-browser.install
arch = x86_64
@ -20,9 +20,9 @@ pkgbase = thorium-browser-bin
optdepends = kwallet: for storing passwords in KWallet
options = !emptydirs
options = !strip
source = https://github.com/Alex313031/Thorium/releases/download/M109.0.5414.120/thorium-browser_109.0.5414.120_amd64.deb
source = https://github.com/Alex313031/Thorium/releases/download/M111.0.5563.111/thorium-browser_111.0.5563.111-1_amd64.deb
source = thorium-browser.sh
sha512sums = c935f127abbc8e5dcf362a8f9687b5ea69d415efb256233e499bb273ec053fa2b7522b06ccb80387ed791289cd80dfdac1c36ed8dd3467fe757ce5ade4595891
sha512sums = 5e34cfbd67d86b31292a61eb5dcee68aeb2c4818bb557fa9aee458215eef8042c57be43b2250f5d89a66df90e4df6473a85688aa63ba2255e789d0f37ed83d8b
sha512sums = b91554cc990241ed632c4a4abb14181b1598018716794ccf251d6baf77bca691722558cdcdbc5f88087ceb356a6cdfbf9095038189ecb7fa0777975a1ae13b4f
sha512sums = 91a532fde9e6e87d65b909a170d32808f1c05367104cdaab07043fef0de66bdfc307a4138584cd1eedc169a03207372df39c09268ab1ec741432e79e0dcc2dfb
pkgname = thorium-browser-bin

View file

@ -1,4 +1,6 @@
*.deb
*.pkg.tar.*
*.part
*.kate-swp
src/
pkg/

View file

@ -1,12 +1,11 @@
# Copyright (c) 2022 Alex313031, JPratama7, and Dominik Adrian Grzywak.
# Copyright (c) 2023 Alex313031, JPratama7, and StarterX4.
# Maintainer: JPratama7 <josepratama080@gmail.com>
# Maintainer: Dominik Adrian Grzywak <starterx4@gmail.com>
# Maintainer: Dominik Adrian Grzywak <starterx4 at gmail dot com>
_pkgname=thorium-browser
pkgbase=thorium-browser
pkgname=${_pkgname}-bin
pkgver=109.0.5414.120
pkgrel=1
pkgver=111.0.5563.111
pkgrel=2
pkgdesc="Chromium fork focused on high performance and security."
arch=('x86_64')
url="https://github.com/Alex313031/Thorium"
@ -29,10 +28,10 @@ optdepends=(
)
options=('!emptydirs' '!strip')
install=$_pkgname.install
source=("https://github.com/Alex313031/Thorium/releases/download/M${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
source=("https://github.com/Alex313031/Thorium/releases/download/M${pkgver}/${_pkgname}_${pkgver}-1_amd64.deb"
"$_pkgname.sh")
sha512sums=('c935f127abbc8e5dcf362a8f9687b5ea69d415efb256233e499bb273ec053fa2b7522b06ccb80387ed791289cd80dfdac1c36ed8dd3467fe757ce5ade4595891'
'5e34cfbd67d86b31292a61eb5dcee68aeb2c4818bb557fa9aee458215eef8042c57be43b2250f5d89a66df90e4df6473a85688aa63ba2255e789d0f37ed83d8b')
sha512sums=('b91554cc990241ed632c4a4abb14181b1598018716794ccf251d6baf77bca691722558cdcdbc5f88087ceb356a6cdfbf9095038189ecb7fa0777975a1ae13b4f'
'91a532fde9e6e87d65b909a170d32808f1c05367104cdaab07043fef0de66bdfc307a4138584cd1eedc169a03207372df39c09268ab1ec741432e79e0dcc2dfb')
package() {
echo " -> Extracting the data.tar.xz..."
@ -41,13 +40,13 @@ package() {
echo " -> Moving stuff in place..."
# Launcher
install -m755 $_pkgname.sh "$pkgdir"/usr/bin/$_pkgname
chmod 4755 "$pkgdir/opt/chromium.org/thorium/chrome-sandbox"
chmod 4755 "$pkgdir/opt/chromium.org/thorium/chrome-sandbox"
# Icons
for i in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
install -Dm644 "$pkgdir"/opt/chromium.org/thorium/product_logo_${i/x*/}.png \
"$pkgdir"/usr/share/icons/hicolor/$i/apps/thorium-browser-stable.png
"$pkgdir"/usr/share/icons/hicolor/$i/apps/thorium-browser.png
done
install -Dm644 "$pkgdir/opt/chromium.org/thorium/thorium_shell.png" -t \
"$pkgdir/usr/share/icons/hicolor/256x256/apps/"