diff options
Diffstat (limited to 'gnome-unstable/mutter')
-rw-r--r-- | gnome-unstable/mutter/PKGBUILD | 33 | ||||
-rw-r--r-- | gnome-unstable/mutter/mutter.install | 19 |
2 files changed, 52 insertions, 0 deletions
diff --git a/gnome-unstable/mutter/PKGBUILD b/gnome-unstable/mutter/PKGBUILD new file mode 100644 index 000000000..1dac0c745 --- /dev/null +++ b/gnome-unstable/mutter/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 166424 2012-09-07 17:53:28Z jgc $ +# 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.5.91 +pkgrel=1 +pkgdesc="A window manager for GNOME" +arch=(i686 x86_64) +license=('GPL') +depends=('clutter' 'dconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'startup-notification' 'zenity') +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=('ceb69923e691a9a10ac34535634795f96b17b6cbdec8f38d846a46f8a73b9332') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/mutter \ + --localstatedir=/var --disable-static \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/mutter/mutter.install b/gnome-unstable/mutter/mutter.install new file mode 100644 index 000000000..c47f1cef2 --- /dev/null +++ b/gnome-unstable/mutter/mutter.install @@ -0,0 +1,19 @@ +pkgname=mutter + +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +pre_upgrade() { + if [ -f /usr/share/gconf/schemas/$pkgname.schemas ]; then + /usr/sbin/gconfpkg --uninstall $pkgname + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |