python3-webengine-gtk3/build.sh

20 lines
297 B
Bash
Raw Permalink Normal View History

2023-08-31 16:57:55 +08:00
#!/bin/bash
if [ -d unpack ]; then
sudo rm -rf unpack
fi
2023-08-31 18:47:54 +08:00
version="0.2.0"
2023-08-31 16:57:55 +08:00
mkdir -p unpack/DEBIAN
cp debian/control unpack/DEBIAN/
cp -r usr unpack/
cd unpack
find . -type f | xargs md5sum > DEBIAN/md5sums
cd ..
dpkg-deb -b unpack/ "python3-webengine-gtk3-${version}.deb"
sudo rm -rf unpack