1 # Maintainer: Valere Monseur <valere dot monseur at ymail dot com>
3 # Remark: if you encounter "403: Forbidden" from deviantart then modify
4 # /etc/makepkg.conf and add --user-agent="" in the wget command
6 pkgname=zuki-blues-theme
9 pkgdesc="An openbox, bmpanel2, gtk2, emerald and xfwm4 nice blue theme"
11 url="http://opendesktop.org/content/show.php/Zuki+Blues?content=128931"
12 license=('GPL3' 'CCPL')
13 depends=('gtk-engine-murrine' 'gtk-engine-equinox')
14 optdepends=('openbox' 'bmpanel2' 'emerald' 'xfwm4')
16 source=(http://www.deviantart.com/download/175190463/Zuki_Blues_by_lassekongo83.7z
17 http://opendesktop.org/CONTENT/content-files/128931-Zuki%20Blues.tar.gz
18 http://xfce-look.org/CONTENT/content-files/132830-Zuki%20Blues.tar.gz)
19 md5sums=('8918e119fcbb9bc0c01086c75accfb31'
20 'cde5c7ef7e710bfb5c3581564efb0cd8'
21 'd2c4bb12ffe55d53fbdf363476222b40')
25 ### step 1 - openbox, bmpanel2 and xfwm4 ###
30 tar -xzf "Zuki Blues.obt"
31 tar -xzf "Zuki Blues Border.obt"
32 tar -xzf "Zuki Blues Shine.obt"
34 install -d "${pkgdir}"/usr/share/themes/zuki-blues
35 install -d "${pkgdir}"/usr/share/themes/zuki-blues-border
36 install -d "${pkgdir}"/usr/share/themes/zuki-blues-shine
38 cp -r "${srcdir}"/"Zuki Blues"/* "${pkgdir}"/usr/share/themes/zuki-blues/
39 cp -r "${srcdir}"/"Zuki Blues Border"/* "${pkgdir}"/usr/share/themes/zuki-blues-border/
40 cp -r "${srcdir}"/"Zuki Blues Shine"/* "${pkgdir}"/usr/share/themes/zuki-blues-shine/
45 install -d "${pkgdir}"/usr/share/bmpanel2/themes/zuki-blues
46 cp -r "${srcdir}"/bmpanel2/Zuki-Blues/* "${pkgdir}"/usr/share/bmpanel2/themes/zuki-blues/
48 ### step 2 - gtk2 and emerald ###
50 mkdir -p "${srcdir}"/7z
52 7z x ../../Zuki_Blues_by_lassekongo83.7z
56 install -d "${pkgdir}"/usr/share/themes/zuki-blues
57 cp -r "${srcdir}"/7z/"Zuki Blues"/* "${pkgdir}"/usr/share/themes/zuki-blues/
61 install -d "${pkgdir}"/usr/share/emerald/themes/zuki-blues
62 install -d "${pkgdir}"/usr/share/emerald/themes/zuki-blues-shine
64 cd "${pkgdir}"/usr/share/emerald/themes/zuki-blues
65 tar xzf "${srcdir}"/7z/"Zuki Blues.emerald"
67 cd "${pkgdir}"/usr/share/emerald/themes/zuki-blues-shine
68 tar xzf "${srcdir}"/7z/"Zuki Blues Shine.emerald"
70 # fix permission and ownership problems
72 find "${pkgdir}"/ -type d -exec chmod 755 '{}' \;
73 find "${pkgdir}"/ -type f -exec chmod 644 '{}' \;
74 chown -R root.root "${pkgdir}"/*