[arch-commits] Commit in metacity/trunk (PKGBUILD)

Balló György bgyorgy at nymeria.archlinux.org
Sun Dec 1 22:27:22 UTC 2013


    Date: Sunday, December 1, 2013 @ 23:27:22
  Author: bgyorgy
Revision: 101816

Implement prepare function

Modified:
  metacity/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-01 22:23:04 UTC (rev 101815)
+++ PKGBUILD	2013-12-01 22:27:22 UTC (rev 101816)
@@ -10,7 +10,7 @@
 license=('GPL')
 depends=('dconf' 'libcanberra' 'libgtop' 'gsettings-desktop-schemas' 'gtk2' 'startup-notification' 'zenity')
 makedepends=('intltool' 'itstool')
-url="https://live.gnome.org/Metacity"
+url="https://wiki.gnome.org/Projects/Metacity"
 install=metacity.install
 source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
         fix_compositing_startup.patch
@@ -25,7 +25,7 @@
             'e53c1c20e19cd3d94d05d08045c7a9a373ce52051928ccc69bf3068081f30f9a'
             '177ded8203c3ff25f59a24445145cb54da9aba4216a0014c34979b7c12f3c099')
 
-build() {
+prepare() {
   cd "$pkgname-$pkgver"
 
   # https://bugzilla.gnome.org/show_bug.cgi?id=658036
@@ -42,7 +42,10 @@
 
   # Rename switch-windows to switch-applications (required for GNOME 3.8 compatibility)
   patch -Np1 -i "$srcdir/application-switcher.patch"
+}
 
+build() {
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
               --disable-static --disable-schemas-compile
   make




More information about the arch-commits mailing list