# Description: boring window manager for the adult in you
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: gtk, gconf, intltool, libglade
# Group: gnome/desktop

name=metacity
version=2.20.1
release=1
source=(http://download.gnome.org/desktop/2.20/2.20.2/sources/$name-$version.tar.bz2)

build() {
	cd $name-$version
	rm po/*.po
	sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
		-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
	./configure --prefix=/usr \
		--libexecdir=/usr/lib/$name \
		--mandir=/usr/man \
		--disable-verbose \
		--disable-schemas-install
	make
	make DESTDIR=$PKG install
}