mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-04-28 20:29:50 +08:00
在rules里做src->pkg
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
6b3ad3cc43
commit
9eb23aa93f
@ -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
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user