[arch-commits] Commit in metacity/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:35:59 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:35:58
  Author: heftig
Revision: 155221

db-move: moved metacity from [gnome-unstable] to [testing] (i686)

Added:
  metacity/repos/testing-i686/
  metacity/repos/testing-i686/PKGBUILD
    (from rev 155005, metacity/repos/gnome-unstable-i686/PKGBUILD)
  metacity/repos/testing-i686/metacity.install
    (from rev 155005, metacity/repos/gnome-unstable-i686/metacity.install)
Deleted:
  metacity/repos/gnome-unstable-i686/

------------------+
 PKGBUILD         |   31 +++++++++++++++++++++++++++++++
 metacity.install |   19 +++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: metacity/repos/testing-i686/PKGBUILD (from rev 155005, metacity/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:35:58 UTC (rev 155221)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=metacity
+pkgver=2.34.3
+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=('aeac2548b62a98375fb5c832ee26ab4cb6d59f0dd96edcefb5f7bef2416576e7')
+
+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
+}

Copied: metacity/repos/testing-i686/metacity.install (from rev 155005, metacity/repos/gnome-unstable-i686/metacity.install)
===================================================================
--- testing-i686/metacity.install	                        (rev 0)
+++ testing-i686/metacity.install	2012-04-01 11:35:58 UTC (rev 155221)
@@ -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
+}



More information about the arch-commits mailing list