summaryrefslogtreecommitdiff
path: root/distro/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu')
-rwxr-xr-xdistro/ubuntu/build26
-rwxr-xr-xdistro/ubuntu/postinst5
-rwxr-xr-xdistro/ubuntu/postrm6
3 files changed, 37 insertions, 0 deletions
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
new file mode 100755
index 0000000..2dc5e5c
--- /dev/null
+++ b/distro/ubuntu/build
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# fill it
+pkgname=mate-icon-theme
+pkgver=2011.10.29
+pkgrel=1
+pkgdesc="MATE icon theme"
+#depends="hicolor-icon-theme, icon-naming-utils, gtk-update-icon-cache"
+
+# editar esta funcion!
+build() {
+ cd $pkgsrc
+ # descomprimir
+ tar xvzf download
+ # entramos a la carpeta
+ cd ${pkgname}
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR="${pkgdir}" install
+ #don't include icon cache
+ rm -f "${pkgdir}/usr/share/icons/mate/icon-theme.cache"
+}
+
+# esto incluye la parte que se repite en la mayoria de los builds
+. /usr/share/mate-doc-utils/mate-debian.sh
diff --git a/distro/ubuntu/postinst b/distro/ubuntu/postinst
new file mode 100755
index 0000000..6b2ad9e
--- /dev/null
+++ b/distro/ubuntu/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+
+exit 0
diff --git a/distro/ubuntu/postrm b/distro/ubuntu/postrm
new file mode 100755
index 0000000..a632bd1
--- /dev/null
+++ b/distro/ubuntu/postrm
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+
+exit 0