summaryrefslogtreecommitdiff
path: root/distro/ubuntu/build
blob: f4c7e26cfd9ad762abf90956b769dd33551610eb (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
#!/bin/bash

# fill it
pkgname=mate-themes
pkgver=1.1.0
pkgrel=1
pkgdesc="Default themes for the MATE desktop"
depends=('gtk2' 'gtk2-engines' 'gtk2-engines-murrine' 'gtk2-engines-pixbuf')
# editar esta funcion!
build() {
	cd $pkgsrc
	# descomprimir
	tar xvzf download
	# entramos a la carpeta
	cd ${pkgname}

	./configure --prefix=/usr --enable-all-themes \
		--disable-placeholders || return 1
	make || return 1
    make DESTDIR="$pkgdir" install || return 1

	# be carefull
    rm -rf ${pkgdir}/usr/share/icons/Crux/
    rm -rf ${pkgdir}/usr/share/icons/HighContrastLargePrint/
    rm -rf ${pkgdir}/usr/share/icons/HighContrastLargePrintInverse/
    rm -rf ${pkgdir}/usr/share/icons/HighContrast-SVG/
    rm -rf ${pkgdir}/usr/share/icons/MateCrux/
    rm -rf ${pkgdir}/usr/share/icons/MateHighContrast/
    rm -rf ${pkgdir}/usr/share/icons/MateHighContrastInverse/
    rm -rf ${pkgdir}/usr/share/icons/MateHighContrastLargePrint/
    rm -rf ${pkgdir}/usr/share/icons/MateHighContrastLargePrintInverse/
    rm -rf ${pkgdir}/usr/share/icons/MateHighContrast-SVG/
    rm -rf ${pkgdir}/usr/share/icons/MateLargePrint/
    rm -rf ${pkgdir}/usr/share/icons/MateMist/
    rm -rf ${pkgdir}/usr/share/icons/Mist/

    rm -rf ${pkgdir}/usr/share/themes/Clearlooks/
    rm -rf ${pkgdir}/usr/share/themes/ClearlooksClassic/
    rm -rf ${pkgdir}/usr/share/themes/Crux/
    rm -rf ${pkgdir}/usr/share/themes/Glider/
    rm -rf ${pkgdir}/usr/share/themes/Glossy/
    rm -rf ${pkgdir}/usr/share/themes/HighContrast/
    rm -rf ${pkgdir}/usr/share/themes/HighContrastInverse/
    rm -rf ${pkgdir}/usr/share/themes/HighContrastLargePrint/
    rm -rf ${pkgdir}/usr/share/themes/HighContrastLargePrintInverse/
    rm -rf ${pkgdir}/usr/share/themes/Inverted/
    rm -rf ${pkgdir}/usr/share/themes/LargePrint/
    rm -rf ${pkgdir}/usr/share/themes/LowContrast/
    rm -rf ${pkgdir}/usr/share/themes/LowContrastLargePrint/
    rm -rf ${pkgdir}/usr/share/themes/Mist/
    rm -rf ${pkgdir}/usr/share/themes/Simple/
}

# esto incluye la parte que se repite en la mayoria de los builds
. /usr/share/mate-doc-utils/mate-debian.sh