diff options
author | Asuka Minato | 2024-08-09 10:28:43 +0900 |
---|---|---|
committer | Asuka Minato | 2024-08-09 10:28:43 +0900 |
commit | ad1b9e8d6e01edf8ea3585c56da83041375d4912 (patch) | |
tree | 3fb2e229d78388bb8aa8adb572bf761ce9201d0b /PKGBUILD | |
parent | a2948fb57f559e9293172c2923a10d8fa8e6f676 (diff) | |
download | aur-ad1b9e8d6e01edf8ea3585c56da83041375d4912.tar.gz |
fix missing or
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -48,7 +48,14 @@ prepare() { s/_.Store.getState().app.preferences?.isAutoUpdaterDisabled/(true)/g s!extra-resources!/usr/share/notion-app!g s/trayIcon.ico/trayIcon.png/g' "$srcdir/unpacked/.webpack/main/index.js" - find $srcdir \( -name "*.c" -or -name "*.h" -or -name "*.gyp" -or -name "*.gypi" -name "clang-format.js" -or -name "conversion.js" -or -name "eslint-format.js" \) -delete -printf "rm %p to make namcap happy.\n" + find $srcdir \( \ + -name "*.c" -or \ + -name "*.h" -or \ + -name "*.gyp" -or \ + -name "*.gypi" -or \ + -name "clang-format.js" -or \ + -name "conversion.js" -or \ + -name "eslint-format.js" \) -delete -printf "rm %p to make namcap happy.\n" } package() { @@ -63,5 +70,6 @@ package() { install -Dm644 "$srcdir/notion.desktop" -t "$share/applications" install -Dm644 "$srcdir/notion.png" -t "$share/icons/hicolor/256x256/apps" install -Dm644 "$srcdir/trayIcon.png" -t "$share/notion-app" + # install -Dm644 "$srcdir/trayIcon.png" -t "$pkgdir/usr/lib/electron31/resources/" # monkey patch, fix the error but seems useless find "$pkgdir" -type d -empty -delete } |