更新打包配置

master
yutent 2023-09-05 14:56:01 +08:00
parent b2153978c9
commit ebe9eacd10
2 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,11 @@ cp debian/control unpack/DEBIAN/
cp -r usr unpack/
cd unpack
find . -type f | xargs md5sum > DEBIAN/md5sums
find usr -type f | xargs md5sum > DEBIAN/md5sums
_size=$(du -d 0 usr | cut -f1)
sed -i "s/{{size}}/${_size}/" DEBIAN/control
sed -i "s/{{version}}/${version}/" DEBIAN/control
cd ..
dpkg-deb -b unpack/ "python3-webengine-gtk3-${version}.deb"

4
debian/control vendored
View File

@ -1,12 +1,12 @@
Package: python3-webengine-gtk3
Version: 0.3.0
Version: {{version}}
Section: develop
Priority: optional
Maintainer: Yutent <yutent.io@gmail.com>
Architecture: all
Depends: python3 (>=3.10), python3-gi, gir1.2-gtk-3.0, python3-pil, python3-gi-cairo, gir1.2-gdkpixbuf-2.0
Recommends: gir1.2-ayatanaappindicator3-0.1, gir1.2-notify-0.7, gir1.2-keybinder-3.0
Installed-Size: 324
Installed-Size: {{size}}
Homepage: https://git.wkit.fun/appcat/python3-webengine-gtk3
Description: 一个傻瓜式的webview定制库.
基于webkit2封装的webview库, 提供傻瓜式的定制, 和一系列的js方法的注入, 增加前端js直接与系统交互的能力.