summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAsuka Minato2024-08-09 10:28:43 +0900
committerAsuka Minato2024-08-09 10:28:43 +0900
commitad1b9e8d6e01edf8ea3585c56da83041375d4912 (patch)
tree3fb2e229d78388bb8aa8adb572bf761ce9201d0b /PKGBUILD
parenta2948fb57f559e9293172c2923a10d8fa8e6f676 (diff)
downloadaur-ad1b9e8d6e01edf8ea3585c56da83041375d4912.tar.gz
fix missing or
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 89c2328240ec..dbb2f156e569 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}