Add GitHub Actions
This commit is contained in:
parent
566735cf74
commit
f8e83cf877
9 changed files with 96 additions and 47 deletions
25
repack-deb.sh
Normal file
25
repack-deb.sh
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
source releaserc
|
||||
|
||||
# Download deb
|
||||
mkdir deb
|
||||
cd deb
|
||||
rm -f ${DEB_FILE}
|
||||
wget https://protonmail.com/download/${DEB_FILE}
|
||||
|
||||
# Unpack deb
|
||||
ar x -v ${DEB_FILE}
|
||||
mkdir control
|
||||
tar xvfJ control.tar.xz -C control
|
||||
|
||||
# Replace qt with libgl and remove unnecessary dependencies
|
||||
sed -i "s/^Depends: .*$/Depends: libsecret-1-0, libgl1-mesa-glx/" control/control
|
||||
|
||||
# Pack deb
|
||||
cd control
|
||||
tar cvfJ ../control.tar.xz .
|
||||
cd ../
|
||||
ar rcs -v ${DEB_FILE} debian-binary control.tar.xz data.tar.xz
|
||||
Loading…
Add table
Add a link
Reference in a new issue