summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-08 13:50:37 -0300
committerPerberos <[email protected]>2011-11-08 13:50:37 -0300
commit2358ba4314dc6d757049bc4871ecf2922614b61b (patch)
tree12e52f491560916f0458c87b2d98ffa94500cb0f /distro
downloadmate-calc-2358ba4314dc6d757049bc4871ecf2922614b61b.tar.bz2
mate-calc-2358ba4314dc6d757049bc4871ecf2922614b61b.tar.xz
initial
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD29
-rwxr-xr-xdistro/ubuntu/build26
2 files changed, 55 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..fe60876
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=mate-calc
+pkgver=2011.08.31
+pkgrel=1
+pkgdesc="Calculator for the Mate desktop environment"
+arch=('i686' 'x86_64')
+license=('LGPL' 'GPL')
+depends=('gtk2' 'libxml2' 'libpng' 'freetype2' 'pixman' 'glib' 'pango' 'gdk-pixbuf2' 'cairo' 'atk')
+makedepends=('pkgconfig')
+groups=('mate-extra')
+url="http://matsusoft.com.ar/projects"
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('3df9b180231a2e01aef092bf756c6cd4f054db98aadc7950ae8c05abaee73441')
+
+build()
+{
+ cd "${srcdir}/${pkgname}"
+ ./autogen.sh || return 1
+ intltoolize --automake --copy --force || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+
+package()
+{
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install || return 1
+}
+
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