summaryrefslogtreecommitdiff
path: root/distro/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu')
-rwxr-xr-xdistro/ubuntu/build29
-rwxr-xr-xdistro/ubuntu/postinst11
-rwxr-xr-xdistro/ubuntu/postrm8
-rwxr-xr-xdistro/ubuntu/preinst7
-rwxr-xr-xdistro/ubuntu/prerm11
5 files changed, 0 insertions, 66 deletions
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
deleted file mode 100755
index 201f4bf..0000000
--- a/distro/ubuntu/build
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-# fill it
-pkgname=mate-session-manager
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="The MATE Session Handler"
-depends=('upower' 'gtk2' 'mate-conf' 'hicolor-icon-theme' 'libxtst6' 'mate-polkit')
-# editar esta funcion!
-build() {
- cd $pkgsrc
- # descomprimir
- tar xvzf download
- # entramos a la carpeta
- cd ${pkgname}
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib || return 1
-
- make || return 1
- make DESTDIR="${pkgdir}" MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
-
- install -d -m755 "${pkgdir}/usr/share/mateconf/schemas"
- mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
- rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas
-}
-
-# 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
deleted file mode 100755
index fe9acfc..0000000
--- a/distro/ubuntu/postinst
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-pkgname=mate-session-manager
-
-if [ -f /usr/sbin/mateconfpkg ]; then
- /usr/sbin/mateconfpkg --install ${pkgname}
-fi
-
-gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-
-exit 0
diff --git a/distro/ubuntu/postrm b/distro/ubuntu/postrm
deleted file mode 100755
index d90718b..0000000
--- a/distro/ubuntu/postrm
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-pkgname=mate-session-manager
-
-gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-
-exit 0
diff --git a/distro/ubuntu/preinst b/distro/ubuntu/preinst
deleted file mode 100755
index 8e05f77..0000000
--- a/distro/ubuntu/preinst
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh -e
-
-pkgname=mate-session-manager
-
-if [ -f /usr/sbin/mateconfpkg ]; then
- /usr/sbin/mateconfpkg --uninstall ${pkgname}
-fi
diff --git a/distro/ubuntu/prerm b/distro/ubuntu/prerm
deleted file mode 100755
index 1066b32..0000000
--- a/distro/ubuntu/prerm
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-set -e
-
-pkgname=mate-session-manager
-
-if [ -f /usr/sbin/mateconfpkg ]; then
- /usr/sbin/mateconfpkg --uninstall ${pkgname}
-fi
-
-exit 0