summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD26
-rwxr-xr-xdistro/ubuntu/build25
2 files changed, 51 insertions, 0 deletions
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