summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:26:22 -0300
committerPerberos <[email protected]>2011-12-01 22:26:22 -0300
commit783bf11df04627b63812812fc7ba756248499883 (patch)
tree4b5f8b0c60647c2727dd14b94e73538934f5d7ba /distro
downloadmate-icon-theme-783bf11df04627b63812812fc7ba756248499883.tar.bz2
mate-icon-theme-783bf11df04627b63812812fc7ba756248499883.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD26
-rw-r--r--distro/archlinux/mate-icon-theme.install11
-rwxr-xr-xdistro/ubuntu/build26
-rwxr-xr-xdistro/ubuntu/postinst5
-rwxr-xr-xdistro/ubuntu/postrm6
5 files changed, 74 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..7592aff
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=mate-icon-theme
+pkgver=2011.11.16
+pkgrel=1
+pkgdesc="MATE icon theme"
+arch=('any')
+license=('GPL')
+depends=('hicolor-icon-theme' 'icon-naming-utils' 'gtk-update-icon-cache')
+makedepends=('intltool')
+url="http://matsusoft.com.ar/projects"
+groups=('mate')
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('23ca96e7e1c86afb5538a3b7e504ce03ddd5ffbf2ef7a7ab1e368208bfef50a4')
+install=mate-icon-theme.install
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install
+ #don't include icon cache
+ rm -f "${pkgdir}/usr/share/icons/mate/icon-theme.cache"
+}
diff --git a/distro/archlinux/mate-icon-theme.install b/distro/archlinux/mate-icon-theme.install
new file mode 100644
index 0000000..b510909
--- /dev/null
+++ b/distro/archlinux/mate-icon-theme.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
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