diff options
author | Alice Gaudon | 2021-02-10 11:26:05 +0100 |
---|---|---|
committer | Alice Gaudon | 2021-02-10 11:26:05 +0100 |
commit | 8219e6cdb93d89c9e6d196c21328153e74626ae5 (patch) | |
tree | 2f55f0a41dffa4b47b47cfcd95b15fedfd86a578 /PKGBUILD | |
parent | 4e0349c3e03beffc9375a23bcf30e8e01a77144e (diff) | |
download | aur-8219e6cdb93d89c9e6d196c21328153e74626ae5.tar.gz |
Fix libcef_dll_wrapper.a file permissions
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,10 +1,11 @@ # Maintainer: Alice Gaudon <alice at gaudon dot pro> # Contributor: NexAdn <nexadn at yandex dot com> + pkgname=cef-minimal-3770-bin pkgver=75.1.14 _pkgver="75.1.14+gc81164e+chromium-75.0.3770.100" _url_pkgver="75.1.14%2Bgc81164e%2Bchromium-75.0.3770.100" -pkgrel=2 +pkgrel=3 pkgdesc="Chromium Embedded Framework minimal release" arch=("i686" "x86_64") url="https://bitbucket.org/chromiumembedded/cef" @@ -21,16 +22,22 @@ source_x86_64=( ) sha1sums_i686=('d559425e624cf937a9523dcd32378ef85383d1ac') sha1sums_x86_64=('89f7af789e6d40eb449f38c1789ad4d1d701d079') + [[ "$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 install -Dm644 "$srcdir"/cef_binary_${_pkgver}_linux${_arch}_minimal/LICENSE.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE + + # Fix read permissions + chmod 644 "$pkgdir"/opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a } |