updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / k3b-themes / PKGBUILD
blob95f88f6be8c735f32a6a13f5b3fb508b0b121034
1 pkgname=k3b-themes
2 pkgver=0.0.1
3 pkgrel=1
4 pkgdesc="Additional K3b themes from kde-look.org - Clean, Penguin Attack Dark Blue, Firework and Light My Fire"
5 license=('GPL')
6 arch=(i686 x86_64)
7 url="http://www.kde-look.org"
8 depends=('k3b')
9 source=('http://www.cbebop.com/stuff/k3b/clean_purp.tar.bz2'
10 'http://www.cbebop.com/stuff/k3b/clean.tar.bz2'
11 'http://www.cbebop.com/stuff/k3b/clean_vd.tar.bz2'
12 'http://www.cbebop.com/stuff/k3b/clean_r.tar.bz2'
13 'http://www.cbebop.com/stuff/k3b/clean_g.tar.bz2'
14 'http://www.logri.net/downloads/k3b_themes.tar.gz'
15 'http://kde-look.org/CONTENT/content-files/55172-firework_0.1.tar.bz2'
16 'http://kde-look.org/CONTENT/content-files/54888-Penguin_Attack_Dark_Blue.tar.gz'
18 md5sums=('b93cd91ce80dca5df53236e103417507'
19 'd6e98941e64adbcb53ae2f46c8b3b17f'
20 '171923f4f1e436b1e410ac0cded68691'
21 'e913e4902b25af4dd514709f7ec6809b'
22 '720b9cdfdd5fc7fa0fc18baa7177e8ed'
23 '784fc18bf8157b3282137638f3228bda'
24 '60c43bcac9cc5514815cfa12e7b5c913'
25 '940be531a2da82b96359ec4382664695'
28 build() {
29   cd ${startdir}/src/
30   tar -zxf ${startdir}/src/k3b_themes/grassy_light.tar.gz
31   tar -zxf ${startdir}/src/k3b_themes/iceman_blue.tar.gz
32   tar -zxf ${startdir}/src/k3b_themes/light_my_fire.tar.gz
33   mkdir -p ${startdir}/pkg/opt/kde/share/apps/k3b/pics
34   cp -R clean_purp  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
35   cp -R clean_b  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
36   cp -R clean_g  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
37   cp -R clean_r  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
38   cp -R clean_vd  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
39   cp -R firework  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
40   cp -R grassy_light  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
41   cp -R iceman_blue  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
42   cp -R light_my_fire  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
43   cp -R Penguin_Attack_Dark_Blue  ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
46   cd ${startdir}/pkg/opt/kde/share/apps/k3b/pics/
48   # fix file permissions
49   chmod -R 755 grassy_light
50   chmod -R 755 iceman_blue
51   chmod -R 755 light_my_fire
53   # beautify names
54   mv clean_purp "Clean - Purple"
55   mv clean_b "Clean - Blue"
56   mv clean_g "Clean - Green"
57   mv clean_r "Clean - Red"
58   mv clean_vd "Clean - Gray"
59   mv firework Firework
60   mv Penguin_Attack_Dark_Blue "Penguin Attack - Dark Blue"
61   mv grassy_light "Grassy Light"
62   mv iceman_blue "Iceman Blue"
63   mv light_my_fire "Light My Fire"