diff options
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,8 +1,9 @@ -# Maintainer: NexAdn <nexadn@yandex.com> +# Maintainer: Anderson Rocha <anderson2320@gmail.com> + pkgname=cef-minimal -pkgver=80.0.8 -_pkgcommit="gf96cd1d" -_chromiumver="80.0.3987.132" +pkgver=87.1.6 +_pkgcommit="g315d248" +_chromiumver="87.0.4280.66" _pkgver="${pkgver}+${_pkgcommit}+chromium-${_chromiumver}" _url_pkgver="${pkgver}%2B${_pkgcommit}%2Bchromium-${_chromiumver}" pkgrel=1 @@ -14,22 +15,28 @@ depends=("nss" "alsa-lib" "libxss" "libxtst" "libglvnd" "pango" "libxcursor" "db makedepends=("cmake" "make") provides=("cef") conflicts=("cef-standard" "cef-git") +cdn_build_package_url="https://cef-builds.spotifycdn.com" + source_i686=( - "http://opensource.spotify.com/cefbuilds/cef_binary_${_url_pkgver}_linux32_minimal.tar.bz2" + "${cdn_build_package_url}/cef_binary_${_url_pkgver}_linux32_minimal.tar.bz2" ) source_x86_64=( - "http://opensource.spotify.com/cefbuilds/cef_binary_${_url_pkgver}_linux64_minimal.tar.bz2" + "${cdn_build_package_url}/cef_binary_${_url_pkgver}_linux64_minimal.tar.bz2" ) -sha1sums_i686=('1036b653697c9089e41dee3e04aa83884b8c365c') -sha1sums_x86_64=('e6c323ff461d0f9beb093f94a77a1f817c8732e5') + +sha1sums_i686=('d7848dbbc8f0a3d40017ec62e6a046741f9ce467') +sha1sums_x86_64=('90b16aab9647df340f8cfaa46c039dbd55d9e1e5') + [[ "$CARCH" = "i686" ]] && _arch="32" [[ "$CARCH" = "x86_64" ]] && _arch="64" + build() { cd "$srcdir"/cef_binary_${_pkgver}_linux${_arch}_minimal sed -i 's/-Werror/#-Werror/g' cmake/cef_variables.cmake cmake . make libcef_dll_wrapper } + package() { mkdir -p "$pkgdir"/opt/cef/ cp -R "$srcdir"/cef_binary_${_pkgver}_linux${_arch}_minimal/* "$pkgdir"/opt/cef |