summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD30
-rwxr-xr-xdistro/ubuntu/build55
2 files changed, 85 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 00000000..89659064
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=mate-themes
+pkgver=2011.11.16
+pkgrel=1
+pkgdesc="Default themes for the MATE desktop"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk2' 'gtk-engines')
+makedepends=('intltool')
+replaces=('gnome-themes')
+conflicts=('gnome-themes')
+options=('!emptydirs' '!libtool')
+url="http://matsusoft.com.ar/projects"
+groups=('mate')
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('3de0c73eb7613a58e6e49a059ac79fea53f8396c09a1e23b2f8a42398fbf8aa7')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ ./autogen.sh \
+ --prefix=/usr \
+ --enable-all-themes \
+ --disable-placeholders || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="$pkgdir" install || return 1
+}
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