summaryrefslogtreecommitdiff
path: root/distro/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu')
-rwxr-xr-xdistro/ubuntu/build55
1 files changed, 55 insertions, 0 deletions
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
new file mode 100755
index 00000000..87d4b81f
--- /dev/null
+++ b/distro/ubuntu/build
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+# fill it
+pkgname=mate-themes
+pkgver=2011.10.29
+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