From 2358ba4314dc6d757049bc4871ecf2922614b61b Mon Sep 17 00:00:00 2001 From: Perberos Date: Tue, 8 Nov 2011 13:50:37 -0300 Subject: initial --- distro/ubuntu/build | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 distro/ubuntu/build (limited to 'distro/ubuntu') diff --git a/distro/ubuntu/build b/distro/ubuntu/build new file mode 100755 index 0000000..229baca --- /dev/null +++ b/distro/ubuntu/build @@ -0,0 +1,26 @@ +#!/bin/bash + +# fill it +pkgname=mate-calc +pkgver=2011.08.31 +pkgrel=1 +pkgdesc="Calculator for the Mate desktop environment" +#depends=('gtk2' 'libxml2' 'libpng' 'freetype2' 'pixman' 'glib' 'pango' 'gdk-pixbuf2' 'cairo' 'atk') +# editar esta funcion! +build() { + cd $pkgsrc + # descomprimir + tar xvzf download + # entramos a la carpeta + cd ${pkgname} + + ./autogen.sh || return 1 + intltoolize --automake --copy --force || return 1 + ./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 -- cgit v1.2.1