diff options
Diffstat (limited to 'gnome-unstable/metacity')
-rw-r--r-- | gnome-unstable/metacity/PKGBUILD | 31 | ||||
-rw-r--r-- | gnome-unstable/metacity/metacity.install | 19 |
2 files changed, 50 insertions, 0 deletions
diff --git a/gnome-unstable/metacity/PKGBUILD b/gnome-unstable/metacity/PKGBUILD new file mode 100644 index 000000000..a72350a8c --- /dev/null +++ b/gnome-unstable/metacity/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 152837 2012-03-09 19:35:19Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=metacity +pkgver=2.34.2 +pkgrel=1 +pkgdesc="A window manager for GNOME" +arch=(i686 x86_64) +license=('GPL') +depends=('dconf' 'gtk2' 'gsettings-desktop-schemas' 'libcanberra' 'libgtop' 'libsm' 'startup-notification' 'zenity') +makedepends=('intltool' 'gnome-doc-utils') +url="http://www.gnome.org" +groups=('gnome') +options=('!libtool' '!emptydirs') +install=metacity.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('3ca1a658bc0daa8b31872b89add2c73892a5369e767cafd636f2b15bd0675ee6') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/metacity \ + --localstatedir=/var --disable-static \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/metacity/metacity.install b/gnome-unstable/metacity/metacity.install new file mode 100644 index 000000000..ba0feffc1 --- /dev/null +++ b/gnome-unstable/metacity/metacity.install @@ -0,0 +1,19 @@ +pkgname=metacity + +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 +} |