init
All checks were successful
buildbot/pull_request/alt-sisyphus-pr-build Build done.

This commit is contained in:
Максим Слипенко 2025-01-02 17:56:19 +00:00
parent 821b38b515
commit c0b79ede31

62
alr.sh
View file

@ -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
}