更新打包配置

master
yutent 2023-09-05 15:01:19 +08:00
parent c8ee7d4aad
commit 28f2ae5033
2 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,11 @@ cp debian/control unpack/DEBIAN/
cp -r usr unpack/ cp -r usr unpack/
cd 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 .. cd ..
dpkg-deb -b unpack/ "sonist-${version}.deb" dpkg-deb -b unpack/ "sonist-${version}.deb"

4
debian/control vendored
View File

@ -1,12 +1,12 @@
Package: sonist Package: sonist
Version: 1.0.5 Version: {{version}}
Section: X11 Section: X11
Architecture: all Architecture: all
Author: Yutent Author: Yutent
Maintainer: Yutent <yutent.io@gmail.com> Maintainer: Yutent <yutent.io@gmail.com>
Depends: python3-gi, gir1.2-gtk-3.0, python3-pil, python3-gi-cairo, python3-mutagen, mpd Depends: python3-gi, gir1.2-gtk-3.0, python3-pil, python3-gi-cairo, python3-mutagen, mpd
Priority: optional Priority: optional
Installed-Size: 3680 Installed-Size: {{size}}
Homepage: https://git.wkit.fun/appcat/sonist-gtk Homepage: https://git.wkit.fun/appcat/sonist-gtk
Description: Sonist - 基于mpd后端的音乐播放器. Description: Sonist - 基于mpd后端的音乐播放器.
高颜值且轻量的 MPD GUI客户端. 高颜值且轻量的 MPD GUI客户端.