diff options
Diffstat (limited to 'extra/metacity')
-rw-r--r-- | extra/metacity/PKGBUILD | 27 | ||||
-rw-r--r-- | extra/metacity/metacity.install | 12 |
2 files changed, 19 insertions, 20 deletions
diff --git a/extra/metacity/PKGBUILD b/extra/metacity/PKGBUILD index 3453ccf57..1df8330b8 100644 --- a/extra/metacity/PKGBUILD +++ b/extra/metacity/PKGBUILD @@ -1,34 +1,31 @@ -# $Id: PKGBUILD 148852 2012-02-05 11:52:53Z ibiru $ +# $Id: PKGBUILD 156930 2012-04-23 09:09:17Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=metacity -pkgver=2.34.1 -pkgrel=2 +pkgver=2.34.3 +pkgrel=1 pkgdesc="A window manager for GNOME" arch=(i686 x86_64 'mips64el') license=('GPL') -depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'libgtop' 'libwnck' 'libsm') -makedepends=('intltool' 'pkg-config' 'gnome-doc-utils') +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=('f144cb43925ca00d8eaac129a14df3260c54a32324b5cd0a4d78b0fd7ff1028a') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('aeac2548b62a98375fb5c832ee26ab4cb6d59f0dd96edcefb5f7bef2416576e7') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/metacity \ - --localstatedir=/var --disable-static + --localstatedir=/var --disable-static \ + --disable-schemas-compile make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install - - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain metacity "${pkgdir}"/etc/gconf/schemas/*.schemas - rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } diff --git a/extra/metacity/metacity.install b/extra/metacity/metacity.install index 2eb1e5094..ba0feffc1 100644 --- a/extra/metacity/metacity.install +++ b/extra/metacity/metacity.install @@ -1,17 +1,19 @@ pkgname=metacity post_install() { - usr/sbin/gconfpkg --install ${pkgname} + glib-compile-schemas /usr/share/glib-2.0/schemas } pre_upgrade() { - pre_remove $1 + if [ -f /usr/share/gconf/schemas/$pkgname.schemas ]; then + /usr/sbin/gconfpkg --uninstall $pkgname + fi } post_upgrade() { - post_install $1 + post_install } -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} +post_remove() { + post_install } |