wok-next view hydroxygen-iconset/receipt @ rev 21598
updated doxygen (1.8.15 -> 1.8.18)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:39:37 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="hydroxygen-iconset"
4 VERSION="20090119"
5 CATEGORY="customization"
6 SHORT_DESC="GTK+ port of the KDE4 Oxygen icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="CC GPL"
9 WEB_SITE="https://www.deviantart.com/deviantdark/art/hydroxygen-iconset-100826865"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.zip"
13 WGET_URL="http://fc04.deviantart.com/fs40/f/2009/019/8/7/hydroxygen_iconset_by_deviantdark.zip"
15 compile_rules() {
16 # Source Zip archive contains Tar.Bz2 archive inside
17 echo 'Extract sources'
18 busybox tar -xjf hydroxygen_iconset.tar.bz2 || return 1
19 rm $src/*.tar.bz2
21 # Install all icons
22 echo 'Install all icons'
23 mkdir -p $install/usr/share/icons/hydroxygen
24 cd $src/hydroxygen
25 for i in $(ls -p | fgrep /) index.theme; do
26 cp -a $src/hydroxygen/$i $install/usr/share/icons/hydroxygen
27 done
29 # Stick to oxyblue style, remove other
30 echo 'Remove styles'
31 for i in acquamarine agua black blue brown darkgray deviantdark deviantlight \
32 dust gray green manilla minium orange oxyacquamarine oxyblack oxygreen \
33 oxyorange oxyred oxyviolet oxywhite pink red skyblue violet white yellow;
34 do
35 echo " $i"
36 find $install -type f -name "$i-*.png" -delete
37 find $install -type f -name "*-$i.png" -delete
38 done
39 echo 'Apply oxyblue style'
40 for i in $(find $install -type f -name 'oxyblue-*'); do
41 mv -f $i ${i/oxyblue-/}
42 done
44 # Remove alternatives
45 echo 'Remove alternatives'
46 F="$install/usr/share/icons/hydroxygen"
48 echo ' wicd'
49 mv $F/128x128/apps/wicd-client01.png $F/128x128/apps/wicd-client.png
51 echo ' openoffice'
52 find $install -type f \( -name 'ooo-*-default.png' -o \
53 -name 'openofficeorg-*-default.png' \) -delete
54 for i in $(find $install -type f \( -name 'ooo-*-new.png' -o \
55 -name 'openofficeorg-*-new.png' \) ); do
56 mv -f $i ${i/-new/}
57 done
59 echo ' trash'
60 for i in $(find $install -type f -name 'trashcan_full-new.png'); do
61 mv -f $i ${i/-new/}
62 done
64 echo ' arrows'
65 find $install -type f -name 'minimal*' -delete
67 echo ' start-here'
68 find $install -type f -name 'start-here-*' -delete
70 echo ' misc'
71 for i in wicd-client user-trash trashcan_full amule emesene evolution \
72 exaile filezilla firefox rhythmbox solfege sunbird thunderbird totem \
73 applications-other; do
74 find $install -type f \( -name "${i}0*.png" -o -name "${i}1*.png" -o \
75 -name "$i-default.png" \) -delete
76 done
78 # Fix permissions and ownership
79 echo 'Fix permissions and ownership'
80 find $install -type f -exec chmod u=rw,g=r,o=r \{\} \;
81 find $install -type d -exec chmod u=rwx,g=rx,o=rx \{\} \;
82 chown -R root:root $install
84 echo 'All done! ;-)'
85 }
87 genpkg_rules() {
88 cp -a $install/* $fs
89 }