0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-18 18:32:30 -05:00
LibreWolf/assets/build-deb.sh
Bert van der Weerd 49c0107a1b
Initial commit
2021-11-19 18:41:54 +01:00

38 lines
715 B
Bash
Executable file

mv -v librewolf lwdist
mkdir -p librewolf/DEBIAN
cd librewolf/DEBIAN
cat <<EOF > control
Architecture: all
Build-Depends: inkscape, librsvg2-bin
Depends: libc6, libgcc1, libstdc++6, wget
Description: The Librewolf Browser
Download-Size: 56.0 MB
Essential: no
Installed-Size: 204 MB
Maintainer: Bert van der Weerd <bert@stanzabird.nl>
Package: librewolf
Priority: optional
Provides: gnome-www-browser, www-browser, x-www-browser
Section: web
EOF
echo "Version: $1" >> control
cd ..
mkdir -p usr/share/librewolf
mv -v ../lwdist/* usr/share/librewolf
rmdir ../lwdist
mkdir -p usr/bin
cd usr/bin
ln -vs ../share/librewolf/librewolf
cd ../..
cd ..
dpkg-deb --build librewolf
echo ""
ls -lh librewolf.deb
exit 0