added extra/mutter 3.4.1-1

This commit is contained in:
Kevin Mihelich 2012-04-24 20:45:05 -04:00
parent bd5d477e48
commit ca72471034
2 changed files with 57 additions and 0 deletions

38
extra/mutter/PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# $Id: PKGBUILD 156933 2012-04-23 09:09:22Z ibiru $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - set --enable-compile-warnings=no in configure
plugrel=1
pkgname=mutter
pkgver=3.4.1
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=('dbf08b014179980ab3d0cce645c5391c83b0ce070c73504feea8eec0ad000449')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/mutter \
--localstatedir=/var --disable-static \
--disable-schemas-compile --enable-compile-warnings=no
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

View file

@ -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
}