mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 21:02:04 +08:00
chore: 尝试添加打包脚本
尝试添加了自动编译打包脚本,由于不会使用 dh_make 故每次需要手动更新打包信息。
This commit is contained in:
10
debian/DEBIAN/control
vendored
Normal file
10
debian/DEBIAN/control
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
Package: spark-store
|
||||
Version: 3.0.3
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Section: utils
|
||||
Source: https://gitee.com/deepin-community-store/spark-store
|
||||
Homepage: https://gitee.com/kuyewen/spark-store/tree/multiple
|
||||
Architecture: amd64
|
||||
Priority: optional
|
||||
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), libqt5core5a (>= 5.11.0~rc1), libqt5gui5 (>= 5.11.0~rc1), libqt5widgets5 (>= 5.11.0~rc1), libqt5network5 (>= 5.11.0~rc1), libqt5webenginewidgets5 (>= 5.11.0~rc1), libqt5concurrent5 (>= 5.11.0~rc1), libdtkcore5 (>= 5.2.1-1), libdtkwidget5 (>= 5.2.1-1), libdtkgui5 (>= 5.2.0-1), libglib2.0-0, libgdk-pixbuf2.0-0, libnotify4, wget, curl, gdebi-core, gnupg
|
||||
Description: Spark Store version 3.0.3
|
||||
17
debian/DEBIAN/postinst
vendored
Executable file
17
debian/DEBIAN/postinst
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /usr/local/bin
|
||||
|
||||
ln -s -f /opt/durapps/spark-store/bin/spark-store /usr/local/bin/spark-store
|
||||
ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall
|
||||
|
||||
cd /tmp/spark-store-install
|
||||
wget https://d.store.deepinos.org.cn/dcs-repo.gpg-key.asc
|
||||
apt-key add dcs-repo.gpg-key.asc
|
||||
|
||||
update-icon-caches /usr/share/icons/hicolor || true
|
||||
update-desktop-database /usr/share/applications || true
|
||||
xdg-mime default spark-store.desktop x-scheme-handler/spk
|
||||
update-mime-database /usr/share/mime || true
|
||||
|
||||
# /tmp/spark-store-install/feedback.sh
|
||||
8
debian/DEBIAN/postrm
vendored
Executable file
8
debian/DEBIAN/postrm
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm /usr/local/bin/spark-store
|
||||
rm /usr/local/bin/ssinstall
|
||||
|
||||
update-icon-caches /usr/share/icons/hicolor || true
|
||||
update-desktop-database /usr/share/applications || true
|
||||
update-mime-database /usr/share/mime || true
|
||||
Reference in New Issue
Block a user