summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlice Gaudon2021-02-10 11:26:05 +0100
committerAlice Gaudon2021-02-10 11:26:05 +0100
commit8219e6cdb93d89c9e6d196c21328153e74626ae5 (patch)
tree2f55f0a41dffa4b47b47cfcd95b15fedfd86a578
parent4e0349c3e03beffc9375a23bcf30e8e01a77144e (diff)
downloadaur-8219e6cdb93d89c9e6d196c21328153e74626ae5.tar.gz
Fix libcef_dll_wrapper.a file permissions
-rwxr-xr-x.SRCINFO2
-rwxr-xr-xPKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1ddfb4f37c..784f941d8f3 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cef-minimal-3770-bin
pkgdesc = Chromium Embedded Framework minimal release
pkgver = 75.1.14
- pkgrel = 2
+ pkgrel = 3
url = https://bitbucket.org/chromiumembedded/cef
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1d1a4e17fe9..ae013ecdc02 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}