wok-next diff slitaz-configs/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | c4e53a39395a |
children | cd7906120828 |
line diff
1.1 --- a/slitaz-configs/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/slitaz-configs/receipt Thu May 10 22:58:32 2018 +0300 1.3 @@ -16,17 +16,12 @@ 1.4 locale-ru locale-zh_CN gettext" 1.5 SPLIT="slitaz-themes slitaz-configs-base" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 - case "$ARCH" in 1.11 - i?86) 1.12 - # xcompmgr produces visual glitches on the screen 1.13 - sed -i 's|xcompmgr|compton|' ob-menu/menu.xml.in 1.14 - make DESTDIR=$DESTDIR menu 1.15 - ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml 1.16 - ;; 1.17 - esac 1.18 +compile_rules() { 1.19 + # xcompmgr produces visual glitches on the screen 1.20 + sed -i 's|xcompmgr|compton|' ob-menu/menu.xml.in 1.21 + make DESTDIR=$DESTDIR menu 1.22 + ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml 1.23 + 1.24 find /usr/share/locale -type f -name 'slitaz*' 1.25 1.26 cp -a $src/rootfs/* $install 1.27 @@ -74,15 +69,19 @@ 1.28 chown -R root:root $install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 +genpkg_rules() { 1.35 case $PACKAGE in 1.36 slitaz-configs) 1.37 # Special case for ARM since some (most) config files are in slitaz-arm repo. 1.38 # i486/arm common configs are provided by slitaz-configs-base. 1.39 case "$ARCH" in 1.40 - i?86) 1.41 + arm*) 1.42 + copy \ 1.43 + /usr/share/applications/ \ 1.44 + /usr/share/slitaz/ 1.45 + DEPENDS="slitaz-arm-configs ttf-dejavu slim" 1.46 + ;; 1.47 + *) 1.48 copy \ 1.49 /etc/skel/.gtkrc-2.0* \ 1.50 /etc/skel/.icons/ \ 1.51 @@ -106,12 +105,6 @@ 1.52 DEPENDS="slitaz-configs-base xorg-libXcomposite \ 1.53 xorg-libXdamage transset-df ttf-dejavu slim compton" 1.54 ;; 1.55 - arm) 1.56 - copy \ 1.57 - /usr/share/applications/ \ 1.58 - /usr/share/slitaz/ 1.59 - DEPENDS="slitaz-arm-configs ttf-dejavu slim" 1.60 - ;; 1.61 esac 1.62 1.63 CAT="base-system|for GUI systems"