aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 1f4d8ed..b5b9470 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -44,6 +44,11 @@ repo as a subtree, and a top-level `docs/` folder leaks into that subtree.
- Strip binaries and libraries unless upstream explicitly discourages it
- Install docs to `/usr/doc/$PRGNAM-$VERSION/`
- Always include `find -L` + `chown`/`chmod` cleanup block before packaging
+- Copy repo files into `$PKG` with `cat src > dest`, never `cp`. `cat` writes
+ through a fresh destination so the build's umask/root ownership sets the
+ perms; `cp` bleeds the git working-tree mode/ownership into the package.
+ Applies to `slack-desc`, `doinst.sh`, and any file staged from `$CWD`
+ (SlackBuild, README, `.nvchecker`) into `$PKG`.
- Use `makepkg -l y -c n` to create the final package
### `.info` file