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

Jan Steffens heftig at archlinux.org
Sun Apr 1 11:36:00 UTC 2012


    Date: Sunday, April 1, 2012 @ 07:36:00
  Author: heftig
Revision: 155222

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

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

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

Copied: metacity/repos/testing-x86_64/PKGBUILD (from rev 155005, metacity/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:36:00 UTC (rev 155222)
@@ -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-x86_64/metacity.install (from rev 155005, metacity/repos/gnome-unstable-x86_64/metacity.install)
===================================================================
--- testing-x86_64/metacity.install	                        (rev 0)
+++ testing-x86_64/metacity.install	2012-04-01 11:36:00 UTC (rev 155222)
@@ -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