wok-next diff slitaz-configs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents cd7906120828
children 5669e8b3be70
line diff
     1.1 --- a/slitaz-configs/receipt	Sat Jul 14 17:43:03 2018 +0300
     1.2 +++ b/slitaz-configs/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="312"
     1.5  CATEGORY="base-system"
     1.6  SHORT_DESC="SliTaz config files"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL3"
    1.10  WEB_SITE="http://www.slitaz.org/"
    1.11  REPOLOGY="-"
    1.12 @@ -12,15 +12,14 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.bz2"
    1.15  
    1.16 -BUILD_DEPENDS_arm="gettext"
    1.17  BUILD_DEPENDS="locale-de locale-en locale-fr locale-hu locale-ja locale-pt_BR \
    1.18 -locale-ru locale-zh_CN gettext"
    1.19 -SPLIT="slitaz-themes slitaz-configs-base"
    1.20 +locale-ru locale-zh_CN gettext-dev"
    1.21 +SPLIT="slitaz-themes $PACKAGE-base"
    1.22  
    1.23  compile_rules() {
    1.24  	# xcompmgr produces visual glitches on the screen
    1.25  	sed -i 's|xcompmgr|compton|' ob-menu/menu.xml.in
    1.26 -	make DESTDIR=$DESTDIR menu
    1.27 +	make DESTDIR=$install menu
    1.28  	ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml
    1.29  
    1.30  	find /usr/share/locale -type f -name 'slitaz*'
    1.31 @@ -73,41 +72,29 @@
    1.32  genpkg_rules() {
    1.33  	case $PACKAGE in
    1.34  		slitaz-configs)
    1.35 -			# Special case for ARM since some (most) config files are in slitaz-arm repo.
    1.36 -			# i486/arm common configs are provided by slitaz-configs-base.
    1.37 -			case "$ARCH" in
    1.38 -				arm*)
    1.39 -					copy \
    1.40 -						/usr/share/applications/ \
    1.41 -						/usr/share/slitaz/
    1.42 -					DEPENDS="slitaz-arm-configs ttf-dejavu slim"
    1.43 -					;;
    1.44 -				*)
    1.45 -					copy \
    1.46 -						/etc/skel/.gtkrc-2.0* \
    1.47 -						/etc/skel/.icons/ \
    1.48 -						/etc/skel/.Xdefaults \
    1.49 -						/etc/skel/.xinitrc \
    1.50 -						/etc/skel/.Xresources \
    1.51 -						/etc/skel/.xsession \
    1.52 -						/etc/xdg/openbox/autostart \
    1.53 -						/etc/xdg/openbox/environment \
    1.54 -						/etc/xdg/openbox/menu.en.xml \
    1.55 -						/etc/xdg/openbox/menu.xml \
    1.56 -						/etc/xdg/openbox/rc.xml \
    1.57 -						/usr/bin/ \
    1.58 -						/usr/share/applications/ \
    1.59 -						/usr/share/images/ \
    1.60 -						/usr/share/pixmaps/ \
    1.61 -						/usr/share/slitaz/ \
    1.62 -						/usr/share/templates/ \
    1.63 -						/usr/share/webhome/ \
    1.64 -						/root/
    1.65 -					DEPENDS="slitaz-configs-base xorg-libXcomposite \
    1.66 -					xorg-libXdamage transset-df ttf-dejavu slim compton"
    1.67 -					;;
    1.68 -			esac
    1.69 -
    1.70 +			# Common configs are provided by slitaz-configs-base.
    1.71 +			copy \
    1.72 +				/etc/skel/.gtkrc-2.0* \
    1.73 +				/etc/skel/.icons/ \
    1.74 +				/etc/skel/.Xdefaults \
    1.75 +				/etc/skel/.xinitrc \
    1.76 +				/etc/skel/.Xresources \
    1.77 +				/etc/skel/.xsession \
    1.78 +				/etc/xdg/openbox/autostart \
    1.79 +				/etc/xdg/openbox/environment \
    1.80 +				/etc/xdg/openbox/menu.en.xml \
    1.81 +				/etc/xdg/openbox/menu.xml \
    1.82 +				/etc/xdg/openbox/rc.xml \
    1.83 +				/usr/bin/ \
    1.84 +				/usr/share/applications/ \
    1.85 +				/usr/share/images/ \
    1.86 +				/usr/share/pixmaps/ \
    1.87 +				/usr/share/slitaz/ \
    1.88 +				/usr/share/templates/ \
    1.89 +				/usr/share/webhome/ \
    1.90 +				/root/
    1.91 +			DEPENDS="slitaz-configs-base xorg-libXcomposite \
    1.92 +			xorg-libXdamage transset-df ttf-dejavu slim compton"
    1.93  			CAT="base-system|for GUI systems"
    1.94  			;;
    1.95  		slitaz-themes)
    1.96 @@ -119,39 +106,17 @@
    1.97  			DEPENDS="slim"
    1.98  			;;
    1.99  		slitaz-configs-base)
   1.100 -			CAT="base-system|for text based systems"
   1.101 -
   1.102 -			# Copy rootfs files and set permissions.
   1.103 -			case "$ARCH" in
   1.104 -				arm*)
   1.105 -					# Most ARM configs are in slitaz-arm repo but Openbox, webhome
   1.106 -					# are common to all arch.
   1.107 -					copy \
   1.108 -						/usr/bin/ \
   1.109 -						/etc/lxpanel/ \
   1.110 -						/etc/skel/
   1.111 -					# No dbus on ARM
   1.112 -					sed "s/exec dbus.*$/exec\"/" -i $fs/etc/skel/.xinitrc
   1.113 -					;;
   1.114 -				*)
   1.115 -					copy \
   1.116 -						/boot/ \
   1.117 -						/etc/skel/ \
   1.118 -						/etc/polkit-1/ \
   1.119 -						/etc/slitaz/
   1.120 -						CONFIG_FILES="/etc/slitaz/applications.conf"
   1.121 -					;;
   1.122 -			esac
   1.123  			copy \
   1.124 +				/boot/ \
   1.125 +				/etc/skel/ \
   1.126 +				/etc/polkit-1/ \
   1.127 +				/etc/slitaz/ \
   1.128  				/usr/share/ \
   1.129  				/root/ \
   1.130  				@rm
   1.131 -
   1.132 +			CAT="base-system|for text based systems"
   1.133 +			CONFIG_FILES="/etc/slitaz/applications.conf"
   1.134  			DEPENDS=" "
   1.135 -			# Handle SliTaz arch
   1.136 -			case "$SLITAZ_ARCH" in
   1.137 -				arm*) DEPENDS=" " ;;
   1.138 -			esac
   1.139  			;;
   1.140  	esac
   1.141  }