diff options
author | Daniel Playfair Cal | 2020-04-18 01:23:37 +1000 |
---|---|---|
committer | Daniel Playfair Cal | 2020-04-18 01:23:37 +1000 |
commit | 96b5797835b82d9267e5d0422122029552975d46 (patch) | |
tree | e28d9df16aef0e82b1cffa4d0b14136f3f08e216 | |
parent | 4c6ba7d10c93586bec29f142fdad53d5aa0e7972 (diff) | |
download | aur-96b5797835b82d9267e5d0422122029552975d46.tar.gz |
Don't strip binary in debugs builds
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = electron-ozone pkgdesc = Electron compiled with wayland support via Ozone pkgver = 8.2.3 - pkgrel = 1 + pkgrel = 2 url = https://electronjs.org/ arch = x86_64 license = MIT @@ -8,7 +8,7 @@ provides=('electron') conflicts=('electron') _commit=663d389925a9637609c07f1212edeca337f591be _chromiumver=80.0.3987.163 -pkgrel=1 +pkgrel=2 pkgdesc='Electron compiled with wayland support via Ozone' arch=('x86_64') options=(debug !strip) @@ -238,7 +238,9 @@ build() { ninja -C out/Release electron # Strip before zip to avoid # zipfile.LargeZipFile: Filesize would require ZIP64 extensions - strip -s out/Release/electron + if check_option strip y; then + strip -s out/Release/electron + fi ninja -C out/Release electron_dist_zip # ninja -C out/Release third_party/electron_node:headers } |