在rules里做src->pkg

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2025-04-15 14:09:28 +00:00 committed by Gitee
parent 6b3ad3cc43
commit 9eb23aa93f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 3 deletions

@ -37,7 +37,7 @@ https://share.spark-app.store/index.php?share/folder&user=1&sid=GnktisUQ
## 从源代码构建指南
Single Build: ./build-pkg.sh pkg
### Debian
@ -55,3 +55,8 @@ dpkg-buildpackage -us -uc -b
`yay -S amber-ce-bookworm`
---
Single Build:
cp -r src/ pkg/
./build-pkg.sh pkg/

@ -36,8 +36,6 @@ exit
fi
target_dir="${1}" # 要处理的目标目录
rm -rf ${target_dir}/
cp -r src/ ${target_dir}/
bash replacer.sh ${target_dir}/
bash linker.sh ${target_dir}/
cd pkg/opt/apps/$PKG_NAME/files && bash build-container.sh $(uname -m)

2
debian/rules vendored

@ -6,6 +6,8 @@
dh $@
override_dh_auto_configure:
rm -vfr pkg/
cp -r src/ pkg/
bash build-pkg.sh pkg/
override_dh_dwz: