From 2e9a5504af1b224b852f1d70ccf75810612eaf3f Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 17 Jul 2013 16:00:13 +0200 Subject: Remove obsolete distro folder --- distro/archlinux/PKGBUILD | 32 -------------------------------- distro/archlinux/libmatekbd.install | 17 ----------------- distro/ubuntu/build | 27 --------------------------- distro/ubuntu/postinst | 9 --------- distro/ubuntu/postrm | 6 ------ distro/ubuntu/preinst | 8 -------- distro/ubuntu/prerm | 11 ----------- 7 files changed, 110 deletions(-) delete mode 100644 distro/archlinux/PKGBUILD delete mode 100644 distro/archlinux/libmatekbd.install 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 (limited to 'distro') diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD deleted file mode 100644 index 4939086..0000000 --- a/distro/archlinux/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -pkgname=libmatekbd -pkgver=1.1.0 -pkgrel=2 -pkgdesc="MATE keyboard library" -arch=('i686' 'x86_64') -license=('LGPL') -depends=('libxklavier' 'mate-conf') # 'dconf' -makedepends=('intltool' 'pkgconfig') -groups=('mate') -url="http://matsusoft.com.ar/projects" -options=('!emptydirs' '!libtool') -install=libmatekbd.install -source=() -sha256sums=() - -build() { - cd "${srcdir}/../../../" - ./autogen.sh \ - --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static || return 1 - make || return 1 -} - -package() { - cd "${srcdir}/../../../" - make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install - - 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 -} diff --git a/distro/archlinux/libmatekbd.install b/distro/archlinux/libmatekbd.install deleted file mode 100644 index 23bd383..0000000 --- a/distro/archlinux/libmatekbd.install +++ /dev/null @@ -1,17 +0,0 @@ -pkgname=libmatekbd - -post_install() { - usr/sbin/mateconfpkg --install ${pkgname} -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/mateconfpkg --uninstall ${pkgname} -} diff --git a/distro/ubuntu/build b/distro/ubuntu/build deleted file mode 100755 index 85d6d67..0000000 --- a/distro/ubuntu/build +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# fill it -pkgname=libmatekbd -pkgver=1.1.0 -pkgrel=2 -pkgdesc="MATE keyboard library" -#depends="libxklavier, mate-conf" -# editar esta funcion! -build() { - cd $pkgsrc - # descomprimir - tar xvzf download - # entramos a la carpeta - cd ${pkgname} - - ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1 - make || return 1 - make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install - - 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 06416a1..0000000 --- a/distro/ubuntu/postinst +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -pkgname=libmatekbd - -if [ -f /usr/sbin/mateconfpkg ]; then - /usr/sbin/mateconfpkg --install ${pkgname} -fi - -exit 0 diff --git a/distro/ubuntu/postrm b/distro/ubuntu/postrm deleted file mode 100755 index 63a1c18..0000000 --- a/distro/ubuntu/postrm +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -e - -pkgname=libmatekbd - -exit 0 diff --git a/distro/ubuntu/preinst b/distro/ubuntu/preinst deleted file mode 100755 index e48f7d0..0000000 --- a/distro/ubuntu/preinst +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e - -pkgname=libmatekbd - -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 1b58440..0000000 --- a/distro/ubuntu/prerm +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -e - -pkgname=libmatekbd - -if [ -f /usr/sbin/mateconfpkg ]; then - /usr/sbin/mateconfpkg --uninstall ${pkgname} -fi - -exit 0 -- cgit v1.2.1