Last active
February 20, 2019 10:47
-
-
Save palopezv/65b50bf41c6d01d85b64 to your computer and use it in GitHub Desktop.
yandex-browser-beta-PKGBUILD
This file contains hidden or 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
# Maintainer: Vladimir Kamensky <[email protected]> | |
# Contributor: Vorbote <https://aur.archlinux.org/user/vorbote/> | |
pkgname=yandex-browser-beta | |
pkgver=16.2.0.1818_1.beta | |
pkgrel=1 | |
pkgdesc="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=('x86_64') | |
url="http://browser.yandex.ru/beta/" | |
license=('custom') | |
categories=('network') | |
options=(!strip) | |
depends=('alsa-lib' 'nss' 'gtk2' 'gconf' 'libxss' 'libxtst' 'libxkbfile' 'desktop-file-utils') | |
optdepends=('chromium-pepper-flash: plugin for viewing flash videos') | |
conflicts=('browser-yandex') | |
install='yandex-browser.install' | |
source=("$pkgname.deb::http://browser.yandex.ru/download/?beta=1&os=linux&x64=1&package=deb&full=1") | |
md5sums=('SKIP') | |
pkgver(){ | |
cd "$srcdir" | |
tar -xvzf control.tar.gz > /dev/null | |
echo "$(cat control | grep ^Version: | cut -d' ' -f2 | tr '-' '_')".beta | |
} | |
prepare() { | |
cd "$srcdir" | |
tar -xpJf data.tar.xz | |
} | |
package() { | |
cd "$srcdir" | |
cp -a --reflink=auto opt usr "$pkgdir" | |
mkdir -p "$pkgdir"/usr/lib/pepperflashplugin-nonfree/ | |
ln -s /usr/lib/PepperFlash/libpepflashplayer.so "$pkgdir"/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so | |
#install -d "$pkgdir/usr/share/licenses/yandex-browser" | |
#cp ../../LICENSE "$pkgdir/usr/share/licenses/yandex-browser" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://git.io/vgy5Y