summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD36
-rwxr-xr-xdistro/ubuntu/build29
2 files changed, 65 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..ea45f78
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,36 @@
+pkgname=mate-desktop
+pkgver=2011.11.28
+pkgrel=1
+pkgdesc="Library with common API for various MATE modules"
+arch=(i686 x86_64)
+license=(GPL LGPL)
+depends=('libunique' 'libmatenotify' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'mate-conf')
+makedepends=('mate-doc-utils' 'intltool')
+options=('!emptydirs' '!libtool')
+url="http://matsusoft.com.ar/projects/mate/"
+groups=('mate')
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('33640476894500a291bc60c421028e31a3a952f26ea08f35fe989fc8355ba590')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ PYTHON=/usr/bin/python2 ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-startup-notification \
+ --enable-unique || return 1
+ # --disable-nyancat
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+
+ # prevent conflicts errors
+ mv "${pkgdir}/usr/share/omf" "${pkgdir}/usr/share/mate-omf"
+}
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
new file mode 100755
index 0000000..c2704d2
--- /dev/null
+++ b/distro/ubuntu/build
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+# fill it
+pkgname=mate-desktop
+pkgver=2011.10.29
+pkgrel=1
+pkgdesc="Library with common API for various MATE modules"
+depends=('mate-conf' 'gtk2-engines-pixbuf')
+# editar esta funcion!
+build() {
+ cd $pkgsrc
+ # descomprimir
+ tar xvzf download
+ # entramos a la carpeta
+ cd ${pkgname}
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static --disable-scrollkeeper || return 1
+
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+
+ # prevent conflicts errors
+ mv "${pkgdir}/usr/share/omf" "${pkgdir}/usr/share/mate-omf"
+ #rm -rf ${pkgdir}/usr/share/omf
+}
+
+# esto incluye la parte que se repite en la mayoria de los builds
+. /usr/share/mate-doc-utils/mate-debian.sh