diff options
author | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
commit | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch) | |
tree | 9efe4d061ff3f921e97518a8bc84d504bc88e6fc /staging/mutter | |
parent | 4a6f4c864badccdbf9756bc45218273796fa6d72 (diff) |
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'staging/mutter')
-rw-r--r-- | staging/mutter/PKGBUILD | 33 | ||||
-rw-r--r-- | staging/mutter/mutter.install | 19 |
2 files changed, 52 insertions, 0 deletions
diff --git a/staging/mutter/PKGBUILD b/staging/mutter/PKGBUILD new file mode 100644 index 000000000..36fd4580e --- /dev/null +++ b/staging/mutter/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 157214 2012-04-26 03:48:13Z allan $ +# 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.4.1 +pkgrel=2 +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=('dbf08b014179980ab3d0cce645c5391c83b0ce070c73504feea8eec0ad000449') + +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/staging/mutter/mutter.install b/staging/mutter/mutter.install new file mode 100644 index 000000000..c47f1cef2 --- /dev/null +++ b/staging/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 +} |