Upgraded oxygen-icons5 from 5.73 to 5.109

This commit is contained in:
dslm4515
2023-10-31 19:10:49 -05:00
parent e1602b06dd
commit e0de3bf74f

View File

@ -1,21 +1,22 @@
#! /bin/bash
#
# Source: http://download.kde.org/stable/frameworks/5.73/oxygen-icons5-5.73.0.tar.xz
# Oxygen icons
# Source: https://download.kde.org/stable/frameworks/5.109/oxygen-icons5-5.109.0.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Required: cmake-extra qt5
# Recommended: NONE
# Optional: NONE
# Optional: qt6
sed -i '/( oxygen/ s/)/scalable )/' CMakeLists.txt
mkdir build &&
cd build &&
# If building against Qt6, add -DQT_MAJOR_VERSION=6
cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ..
read -p "Compile?" && make -j2 &&
@ -45,5 +46,5 @@ oxygen-icons5:
oxygen-icons5:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/oxygen-icons5-5.73.0-$(uname -m)-mlfs.txz &&
sudo -S makepkg -l y -c n $PKGS/oxygen-icons5-5.109.0-$NOPSUFFIX &&
sudo -S rm -rf ${BUILD}/*