cleanup pinta building from source to reduce image size

This commit is contained in:
Teja Swaroop Pothala 2025-02-19 14:41:44 +00:00
parent c40d134ed0
commit d9c84b37ca
No known key found for this signature in database
GPG Key ID: FA5E53D328E228D2

View File

@ -16,8 +16,10 @@ if grep -q Jammy /etc/os-release; then
./configure --prefix=/usr/local ./configure --prefix=/usr/local
make install make install
# cleanup # cleanup to reduce image size
rm -rf /tmp/pinta-2.1.2.tar.gz /tmp/pinta-2.1.2 rm -rf /tmp/pinta-2.1.2.tar.gz /tmp/pinta-2.1.2
apt remove -y libgtk-3-dev autotools-dev autoconf-archive gettext intltool libadwaita-1-dev
apt autoremove -y
# create desktop file # create desktop file
cat >/usr/share/applications/pinta.desktop <<EOL cat >/usr/share/applications/pinta.desktop <<EOL