diff options
author | root <root@rshg054.dnsready.net> | 2011-09-29 23:14:32 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-29 23:14:32 +0000 |
commit | 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 (patch) | |
tree | 1a8030f72ecc9d90c9f4c41d9a9d0662169b6404 /testing/mutter | |
parent | f8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff) |
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/mutter')
-rw-r--r-- | testing/mutter/PKGBUILD | 36 | ||||
-rw-r--r-- | testing/mutter/mutter.install | 17 |
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/mutter/PKGBUILD b/testing/mutter/PKGBUILD new file mode 100644 index 000000000..0e5632001 --- /dev/null +++ b/testing/mutter/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 139018 2011-09-28 19:32:37Z ibiru $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: Michael Kanis <mkanis_at_gmx_dot_de> + +pkgname=mutter +pkgver=3.2.0 +pkgrel=1 +pkgdesc="A window manager for GNOME" +arch=(i686 x86_64) +license=('GPL') +depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'clutter' 'gobject-introspection') +makedepends=('intltool' 'gnome-doc-utils') +url="http://www.gnome.org" +groups=('gnome') +options=('!libtool' '!emptydirs') +install=mutter.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('225edd0dd1cdcc44e3220075728a07de7bafb8aa7e798583aa7602dcd45237c3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/mutter \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain mutter ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/mutter/mutter.install b/testing/mutter/mutter.install new file mode 100644 index 000000000..199f12584 --- /dev/null +++ b/testing/mutter/mutter.install @@ -0,0 +1,17 @@ +pkgname=mutter + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |