From 783bf11df04627b63812812fc7ba756248499883 Mon Sep 17 00:00:00 2001 From: Perberos Date: Thu, 1 Dec 2011 22:26:22 -0300 Subject: moving from https://github.com/perberos/mate-desktop-environment --- distro/ubuntu/build | 26 ++++++++++++++++++++++++++ distro/ubuntu/postinst | 5 +++++ distro/ubuntu/postrm | 6 ++++++ 3 files changed, 37 insertions(+) create mode 100755 distro/ubuntu/build create mode 100755 distro/ubuntu/postinst create mode 100755 distro/ubuntu/postrm (limited to 'distro/ubuntu') 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 -- cgit v1.2.1