summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD32
-rw-r--r--distro/archlinux/libmatekbd.install17
-rwxr-xr-xdistro/ubuntu/build27
-rwxr-xr-xdistro/ubuntu/postinst9
-rwxr-xr-xdistro/ubuntu/postrm6
-rwxr-xr-xdistro/ubuntu/preinst8
-rwxr-xr-xdistro/ubuntu/prerm11
7 files changed, 0 insertions, 110 deletions
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