Created
May 24, 2017 09:08
-
-
Save K900/bafadf932f9123d4d1e5e19699e9dd11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_pkgname=browser-beta | |
pkgname=yandex-${_pkgname} | |
pkgver=17.4.1.776 | |
pkgrel=1 | |
epoch=1 | |
pkgdesc="Yandex.Browser" | |
arch=("x86_64") | |
license=("custom:yandex-browser") | |
categories=("network") | |
options=(!strip) | |
depends=("flac" "gconf" "gtk2" "harfbuzz-icu" "libxss" "nss" "opus" "snappy" "speech-dispatcher" "ttf-font" "xdg-utils" "libxkbfile") | |
optdepends=( | |
"kdebase-kdialog: needed for file dialogs in KDE" | |
"ttf-liberation: fix fonts for some PDFs" | |
"yandex-browser-ffmpeg-codecs: support for h.264 and other non-free media formats" | |
) | |
source=("${pkgname}-${pkgver}.deb::https://browser.yandex.ru/download/?beta=1&os=linux&x64=1&package=deb&full=1") | |
sha256sums=("SKIP") | |
prepare() { | |
tar -xf data.tar.xz | |
} | |
package() { | |
cp -dr --no-preserve=ownership opt usr "${pkgdir}"/ | |
install -D -m0644 "${pkgdir}"/opt/yandex/${_pkgname}/product_logo_128.png "${pkgdir}"/usr/share/pixmaps/${pkgname}.png | |
chmod 4755 "${pkgdir}"/opt/yandex/${_pkgname}/yandex_browser-sandbox | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment