![.](loader.gif)
Receipt for package "aurorials-theme"
# SliTaz package receipt. PACKAGE="aurorials-theme" VERSION="20130704" CATEGORY="customization" SHORT_DESC="Aurorials theme for GTK2, Openbox, SLiM, and wallparer" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://holkfoor.deviantart.com/art/Aurorials-pack-themes-382752941" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://web.archive.org/web/20230120115700/https://dl.dropboxusercontent.com/s/urt40kxaladwpeu/Aurorials_GTK2_Openbox_Slim_Wallpaper.tar.bz2" TAGS="holkfoor openbox slim wallpaper" HOST_ARCH="any" DEPENDS="gtk2-engine-murrine openbox slim" BUILD_DEPENDS="wget imagemagick" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed 's|}|}\n|g;s|</|</\n|g' | sed '/dateTime=/!d;s|.*dateTime=.||;s|T.*||;s|-||g;q' } # Rules to configure and make the package. compile_rules() { A=Aurorials s=$install/usr/share/slim/themes t=$install/usr/share/themes i=$install/usr/share/images mkdir -p $s $t $i # SLiM theme cp -a $src/Slim/$A $s ( cd $s/$A; convert background.png background.jpg; rm background.png ) # GTK theme cp -a $src/GTK2/$A $t # (fix warnings about unsupported options) sed -i 's|^.*gradients|#&|' $t/$A/gtk-2.0/gtkrc # wallpaper ln -s ../slim/themes/$A/background.jpg $i/$A.jpg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs } post_install() { # Set GTK+ Theme for i in $1/etc/xdg/lxsession/*/desktop.conf \ $1/home/*/.config/lxsession/*/desktop.conf; do [ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Aurorials|' $i done pgrep lxsession >/dev/null && lxsession -r # Set Openbox theme for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do [ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Aurorials<|' $i done pgrep openbox >/dev/null && openbox --reconfigure # Set SLiM theme chroot "$1/" slim-theme -s Aurorials # Set PCManFM wallpaper for i in $1/etc/xdg/pcmanfm/default/pcmanfm.conf \ $1/home/*/.config/pcmanfm/*/*.conf; do [ -f "$i" ] && sed -i 's|wallpaper[0-9]*=.*|wallpaper=/usr/share/images/Aurorials.jpg|' $i done if [ -z "$1" -a -n "$(pgrep pcmanfm)" ]; then # Change wallpaper for current PCManFM session right now su -c 'pcmanfm -w /usr/share/images/Aurorials.jpg' \ $(ps aux | grep '[p]cmanfm' | awk 'END{print $2}') fi } pre_remove() { # Restore GTK+ Theme (Clearlooks Human) for i in $1/etc/xdg/lxsession/*/desktop.conf \ $1/home/*/.config/lxsession/*/desktop.conf; do [ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Clearlooks Human|' $i done pgrep lxsession >/dev/null && lxsession -r # Restore Openbox theme (SliTaz) for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do [ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i done pgrep openbox >/dev/null && openbox --reconfigure # Restore SLiM theme chroot "$1/" slim-theme -f Madeirado # Restore PCManFM wallpaper (slitaz-background.jpg) for i in $1/etc/xdg/pcmanfm/default/pcmanfm.conf \ $1/home/*/.config/pcmanfm/*/*.conf; do [ -f "$i" ] && sed -i 's|wallpaper[0-9]*=.*|wallpaper=/usr/share/images/slitaz-background.jpg|' $i done if [ -z "$1" -a -n "$(pgrep pcmanfm)" ]; then # Change wallpaper for current PCManFM session right now su -c 'pcmanfm -w /usr/share/images/slitaz-background.jpg' \ $(ps aux | grep '[p]cmanfm' | awk 'END{print $2}') fi }
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)