wok-current rev 17925

Fix ownership/permissions for some Core packages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 11 16:40:30 2015 +0300 (2015-04-11)
parents 250b01dd3a54
children ab7a1aef5636
files clearlooks-compact/receipt ttf-dejavu-extra/receipt ttf-dejavu/receipt wpa_supplicant/receipt xorg-base-fonts/receipt xorg-libXau/receipt xorg-libXdmcp/receipt
line diff
     1.1 --- a/clearlooks-compact/receipt	Sat Apr 11 11:09:49 2015 +0200
     1.2 +++ b/clearlooks-compact/receipt	Sat Apr 11 16:40:30 2015 +0300
     1.3 @@ -16,7 +16,7 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	CC=$fs/usr/share/themes/ClearlooksCompact
     1.7 -	mkdir -p $CC
     1.8 -	cp -a $src/* $CC
     1.9 -	rm $CC/COPYING $CC/gtk-2.0/*~
    1.10 +	mkdir -p $CC $CC/gtk-2.0
    1.11 +	install -m644 -oroot -groot $src/index.theme $CC
    1.12 +	install -m644 -oroot -groot $src/gtk-2.0/gtkrc $CC/gtk-2.0
    1.13  }
     2.1 --- a/ttf-dejavu-extra/receipt	Sat Apr 11 11:09:49 2015 +0200
     2.2 +++ b/ttf-dejavu-extra/receipt	Sat Apr 11 16:40:30 2015 +0300
     2.3 @@ -14,10 +14,8 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/usr/share/fonts/truetype/ttf-dejavu
     2.7 -	cp -a $src/ttf/* $fs/usr/share/fonts/truetype/ttf-dejavu
     2.8 -	rm $fs/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
     2.9 -	#rm $fs/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
    2.10 -	rm $fs/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
    2.11 -	rm $fs/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
    2.12 +	cd       $fs/usr/share/fonts/truetype/ttf-dejavu
    2.13 +	install -m644 -oroot -groot $src/ttf/* .
    2.14 +	rm ./DejaVuSans.ttf ./DejaVuSans-Bold.ttf ./DejaVuSansMono.ttf
    2.15  }
    2.16  
     3.1 --- a/ttf-dejavu/receipt	Sat Apr 11 11:09:49 2015 +0200
     3.2 +++ b/ttf-dejavu/receipt	Sat Apr 11 16:40:30 2015 +0300
     3.3 @@ -17,13 +17,10 @@
     3.4  genpkg_rules()
     3.5  {
     3.6  	mkdir -p $fs/usr/share/fonts/truetype/ttf-dejavu
     3.7 -	cp -a $src/ttf/DejaVuSans.ttf \
     3.8 +	install -m644 -oroot -groot \
     3.9 +		$src/ttf/DejaVuSans.ttf \
    3.10 +		$src/ttf/DejaVuSans-Bold.ttf \
    3.11 +		$src/ttf/DejaVuSansMono.ttf \
    3.12  		$fs/usr/share/fonts/truetype/ttf-dejavu
    3.13 -	cp -a $src/ttf/DejaVuSans-Bold.ttf \
    3.14 -		$fs/usr/share/fonts/truetype/ttf-dejavu
    3.15 -	cp -a $src/ttf/DejaVuSansMono.ttf \
    3.16 -		$fs/usr/share/fonts/truetype/ttf-dejavu
    3.17 -	#cp -a $src/ttf/DejaVuSerif.ttf \
    3.18 -	#	$fs/usr/share/fonts/truetype/ttf-dejavu
    3.19  }
    3.20  
     4.1 --- a/wpa_supplicant/receipt	Sat Apr 11 11:09:49 2015 +0200
     4.2 +++ b/wpa_supplicant/receipt	Sat Apr 11 16:40:30 2015 +0300
     4.3 @@ -85,7 +85,7 @@
     4.4  
     4.5  	# Startup script and cleaned up wpa_empty.conf
     4.6  	cp -a $stuff/etc $fs
     4.7 -	cp -a $src/$PACKAGE/wpa_supplicant.conf $fs/etc/wpa
     4.8 +	install -m644 -oroot -groot $src/$PACKAGE/wpa_supplicant.conf $fs/etc/wpa
     4.9  }
    4.10  
    4.11  # Pre and post install commands for Tazpkg.
     5.1 --- a/xorg-base-fonts/receipt	Sat Apr 11 11:09:49 2015 +0200
     5.2 +++ b/xorg-base-fonts/receipt	Sat Apr 11 16:40:30 2015 +0300
     5.3 @@ -15,8 +15,9 @@
     5.4  genpkg_rules()
     5.5  {
     5.6  	mkdir -p $fs/usr/share/fonts/X11
     5.7 -	cp -a $src/fonts/* $fs/usr/share/fonts/X11
     5.8 -	sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' $fs/usr/share/fonts/X11/misc/fonts.dir
     5.9 +	install -m644 -oroot -groot $src/fonts/* $fs/usr/share/fonts/X11
    5.10 +	sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
    5.11 +		$fs/usr/share/fonts/X11/misc/fonts.dir
    5.12  }
    5.13  
    5.14  # Execute fc-cache when the package finish ti install.
     6.1 --- a/xorg-libXau/receipt	Sat Apr 11 11:09:49 2015 +0200
     6.2 +++ b/xorg-libXau/receipt	Sat Apr 11 16:40:30 2015 +0300
     6.3 @@ -33,6 +33,6 @@
     6.4  	mkdir -p \
     6.5  		$fs/usr/share/licenses \
     6.6  		$fs/usr/lib
     6.7 -	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
     6.8 +	install -m644 -oroot -groot $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
     6.9  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.10  }
     7.1 --- a/xorg-libXdmcp/receipt	Sat Apr 11 11:09:49 2015 +0200
     7.2 +++ b/xorg-libXdmcp/receipt	Sat Apr 11 16:40:30 2015 +0300
     7.3 @@ -33,6 +33,6 @@
     7.4  	mkdir -p \
     7.5  		$fs/usr/share/licenses \
     7.6  		$fs/usr/lib
     7.7 -	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
     7.8 +	install -m644 -oroot -groot $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
     7.9  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.10  }