diff options
author | Perberos <[email protected]> | 2011-12-01 22:07:25 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 22:07:25 -0300 |
commit | d00aab12b6ace2c3dda3efbc2aaa2646d78a9099 (patch) | |
tree | 8b0ca776e9234f7eabf3446f12df9a81abd466d0 /distro | |
download | mate-desktop-d00aab12b6ace2c3dda3efbc2aaa2646d78a9099.tar.bz2 mate-desktop-d00aab12b6ace2c3dda3efbc2aaa2646d78a9099.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro')
-rw-r--r-- | distro/archlinux/PKGBUILD | 36 | ||||
-rwxr-xr-x | distro/ubuntu/build | 29 |
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 |