diff options
Diffstat (limited to 'distro')
-rw-r--r-- | distro/archlinux/PKGBUILD | 25 | ||||
-rw-r--r-- | distro/archlinux/mate.csh | 1 | ||||
-rw-r--r-- | distro/archlinux/mate.sh | 1 | ||||
-rwxr-xr-x | distro/ubuntu/build | 23 |
4 files changed, 50 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD new file mode 100644 index 0000000..5f26e25 --- /dev/null +++ b/distro/archlinux/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=mate-common +pkgver=2011.11.16 +pkgrel=1 +pkgdesc="Common development macros for MATE" +arch=('any') +license=('GPL') +depends=() +makedepends=() +options=('!libtool') +url="http://matsusoft.com.ar/projects" +groups=('mate') +source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) +sha256sums=('44191c91f8d6d6ef6d18825f215f7463b4c65183b2e28e2a955e035b1a41c9b3') + +build() { + cd "${srcdir}/${pkgname}" + ./autogen.sh \ + --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/distro/archlinux/mate.csh b/distro/archlinux/mate.csh new file mode 100644 index 0000000..698e639 --- /dev/null +++ b/distro/archlinux/mate.csh @@ -0,0 +1 @@ +setenv PATH ${PATH}:/opt/mate/bin diff --git a/distro/archlinux/mate.sh b/distro/archlinux/mate.sh new file mode 100644 index 0000000..e0f2d17 --- /dev/null +++ b/distro/archlinux/mate.sh @@ -0,0 +1 @@ +export PATH=$PATH:/opt/mate/bin diff --git a/distro/ubuntu/build b/distro/ubuntu/build new file mode 100755 index 0000000..2b7fdc4 --- /dev/null +++ b/distro/ubuntu/build @@ -0,0 +1,23 @@ +#!/bin/bash + +# fill it +pkgname=mate-common +pkgver=2011.10.29 +pkgrel=1 +pkgdesc="Common development macros for MATE" + +# editar esta funcion! +build() { + cd $pkgsrc + # descomprimir + tar xvzf download + # entramos a la carpeta + cd ${pkgname} + + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} + +# esto incluye la parte que se repite en la mayoria de los builds +. /usr/share/mate-doc-utils/mate-debian.sh |