From e59145232c55785c2d5687d615016e6250140e79 Mon Sep 17 00:00:00 2001 From: Perberos Date: Wed, 30 Nov 2011 18:59:39 -0300 Subject: moving from https://github.com/perberos/Mate-Desktop-Environment --- distro/archlinux/PKGBUILD | 26 ++++++++++++++++++++++++++ distro/ubuntu/build | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 distro/archlinux/PKGBUILD create mode 100755 distro/ubuntu/build (limited to 'distro') diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD new file mode 100644 index 0000000..865810d --- /dev/null +++ b/distro/archlinux/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=mate-backgrounds +pkgver=2011.11.16 +pkgrel=1 +pkgdesc="Background images and data for MATE" +arch=('any') +license=('GPL') +url="http://matsusoft.com.ar/projects/mate" +makedepends=('intltool' 'mate-common') +groups=('mate') +source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) +sha256sums=('0e9fdb284c630d92374dec6e3ac24bd5f0f910dabbf8065b79920ae26bc9ab9c') + +build() { + cd "${srcdir}/${pkgname}" + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var || 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..c6cfb01 --- /dev/null +++ b/distro/ubuntu/build @@ -0,0 +1,25 @@ +#!/bin/bash + +# fill it +pkgname=mate-backgrounds +pkgver=2011.10.29 +pkgrel=1 +pkgdesc="Background images and data for MATE" + +# editar esta funcion! +build() { + cd $pkgsrc + # descomprimir + tar xvzf download + # entramos a la carpeta + cd ${pkgname} + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || 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