From 6dd713def558f0e4ca86a4ddd9cf1d300634e3d0 Mon Sep 17 00:00:00 2001 From: Steve Zesch Date: Fri, 6 Apr 2012 17:12:40 -0400 Subject: removed ubuntu folder from distro. --- distro/ubuntu/build | 34 ---------------------------------- distro/ubuntu/postinst | 8 -------- distro/ubuntu/postrm | 8 -------- distro/ubuntu/preinst | 6 ------ distro/ubuntu/prerm | 9 --------- 5 files changed, 65 deletions(-) delete mode 100755 distro/ubuntu/build delete mode 100755 distro/ubuntu/postinst delete mode 100755 distro/ubuntu/postrm delete mode 100755 distro/ubuntu/preinst delete mode 100755 distro/ubuntu/prerm diff --git a/distro/ubuntu/build b/distro/ubuntu/build deleted file mode 100755 index 2c14c5b..0000000 --- a/distro/ubuntu/build +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# fill it -pkgname=mate-power-manager -pkgver=1.1.0 -pkgrel=1 -pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system for Mate Desktop" - -# 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/${pkgname} \ - --disable-scrollkeeper || return 1 - - # there is some pre-compiled files on the tar - make || return 1 - - make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 - #rm -f ${pkgdir}/usr/lib/*.la # can be used options=(!libtools) - - install -m755 -d "${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 366dc49..0000000 --- a/distro/ubuntu/postinst +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -pkgname=mate-power-manager - -/usr/sbin/mateconfpkg --install ${pkgname} -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 c575111..0000000 --- a/distro/ubuntu/postrm +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -e - -pkgname=mate-power-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 1d5bdca..0000000 --- a/distro/ubuntu/preinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -e - -pkgname=mate-power-manager - -/usr/sbin/mateconfpkg --uninstall ${pkgname} - diff --git a/distro/ubuntu/prerm b/distro/ubuntu/prerm deleted file mode 100755 index c789a9a..0000000 --- a/distro/ubuntu/prerm +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -e - -pkgname=mate-power-manager - -/usr/sbin/mateconfpkg --uninstall ${pkgname} - -exit 0 -- cgit v1.2.1