Reviewed-on: https://code.alt-gnome.ru/aides/yandex-browser-stable/pulls/1 Co-authored-by: maks1ms <maks1ms@alt-gnome.ru> Co-committed-by: maks1ms <maks1ms@alt-gnome.ru>
This commit is contained in:
parent
821b38b515
commit
75641ec9d6
1 changed files with 61 additions and 1 deletions
62
alr.sh
62
alr.sh
|
@ -1 +1,61 @@
|
|||
# Describe your package here
|
||||
_pkgname=browser-stable
|
||||
_pkgver=24.12.1.712-1
|
||||
|
||||
name=yandex-browser-stable
|
||||
version=24.12.1.712
|
||||
release=1
|
||||
maintainer="Maxim Slipenko <maks1ms@alt-gnome.ru>"
|
||||
desc="The web browser from Yandex.
|
||||
Yandex Browser is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier."
|
||||
arch=('amd64')
|
||||
homepage='https://browser.yandex.com/'
|
||||
license=(
|
||||
"custom:yandex-browser"
|
||||
)
|
||||
|
||||
provides=(
|
||||
yandex-browser
|
||||
yandex-browser-stable
|
||||
webclient
|
||||
)
|
||||
conflicts=(
|
||||
yandex-browser-stable
|
||||
yandex-browser-beta
|
||||
yandex-browser-corporate
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
binutils
|
||||
bsdtar
|
||||
wget # for update_codecs
|
||||
squashfs-tools # for update_codecs
|
||||
glibc-pthread # for update_codecs
|
||||
|
||||
# for auto_req only
|
||||
at-spi2-atk libalsa libat-spi2-core libatk libcairo libcups
|
||||
libdbus libdrm libexpat libgbm libgio libnspr libnss
|
||||
libpango libX11 libXcomposite libXdamage libXext libXfixes
|
||||
libXrandr libxcb libxkbcommon
|
||||
libwayland-client
|
||||
libqt5-core libqt5-widgets libqt5-gui
|
||||
libqt6-core libqt6-widgets libqt6-gui
|
||||
)
|
||||
|
||||
auto_req=1
|
||||
auto_prov=1
|
||||
|
||||
sources_amd64=(
|
||||
"https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-${_pkgname}/yandex-${_pkgname}_${_pkgver}_amd64.deb?~name=${name}-${_pkgver}.deb"
|
||||
)
|
||||
checksums=(
|
||||
"sha256:1d59324f0d36c6008f432a3f46e02c26f3b691dce39bd47d437e67240b946c47"
|
||||
)
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
ar x ${name}-${_pkgver}.deb
|
||||
bsdtar xf data.tar.xz -C "$pkgdir"
|
||||
install -D -m0644 "${pkgdir}"/opt/yandex/browser/product_logo_128.png "${pkgdir}"/usr/share/pixmaps/yandex-browser.png
|
||||
|
||||
"${pkgdir}"/opt/yandex/browser/update_codecs "${pkgdir}"/opt/yandex/browser
|
||||
}
|
Loading…
Reference in a new issue