summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e802c1904936ef728b6f9713ca8344c4219eecf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Mainta.iner: mareex <marcus dot behrendt dot 86 at gmail dot com>

pkgname=descartes-breeze
pkgver=1.2
pkgrel=1
pkgdesc="A smooth semi-full-flat theme based on KDE-Next with many improvements"
url=("http://kde-look.org/content/show.php/Descartes+Breeze?content=165578")
arch=('any')
license=('GPL')
depends=('kdebase-workspace')
optdepends=('ttf-comme')
conflicts=('descarted-breeze')
replaces=('descarted-breeze')
source=("${pkgname}-${pkgver}.tar.gz::http://kde-look.org/CONTENT/content-files/165578-Descartes_Breeze_v1.2.tar.gz")
md5sums=('904ac663c210638e2aacbe9cefa1bd11')


package() {
  cd ${srcdir}/Descartes_Breeze_v${pkgver}
  
  cd Aurorae_theme
  for d in $(find ./ -type d)
  do
      mkdir -p ${pkgdir}/usr/share/apps/aurorae/themes/$d
  done
  for f in $(find ./ -type f)
  do
      install -m644 $f ${pkgdir}/usr/share/apps/aurorae/themes/$f
  done
  for f in $(find ./ -type l)
  do
      ln -s $(readlink $f) ${pkgdir}/usr/share/apps/aurorae/themes/$f
  done
  cd ../
  
  cd Cursor_theme
  for d in $(find ./ -type d)
  do
      mkdir -p ${pkgdir}/usr/share/icons/$d
  done
  for f in $(find ./ -type f)
  do
      install -m644 $f ${pkgdir}/usr/share/icons/$f
  done
  for f in $(find ./ -type l)
  do
      ln -s $(readlink $f) ${pkgdir}/usr/share/icons/$f
  done
  rm ${pkgdir}/usr/share/icons/AUTHORS
  cd ../
  
  cd QtCurve_theme
  for d in $(find ./ -type d)
  do
      mkdir -p ${pkgdir}/usr/share/apps/QtCurve/$d
  done
  for f in $(find ./ -type f)
  do
      install -m644 $f ${pkgdir}/usr/share/apps/QtCurve/$f
  done
  for f in $(find ./ -type l)
  do
      ln -s $(readlink $f) ${pkgdir}/usr/share/apps/QtCurve/$f
  done
  cd ../
  
  cd Colors
  for d in $(find ./ -type d)
  do
      mkdir -p ${pkgdir}/usr/share/apps/color-schemes/$d
  done
  for f in $(find ./ -type f -type f)
  do
      install -m644 $f ${pkgdir}/usr/share/apps/color-schemes/$f
  done
  for f in $(find ./ -type l)
  do
      ln -s $(readlink $f) ${pkgdir}/usr/share/apps/color-schemes/$f
  done
  cd ../
  
  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
  install -D -m644 Cursor_theme/AUTHORS ${pkgdir}/usr/share/licenses/${pkgname}/AUTHORS
}