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

Balló György bgyorgy at nymeria.archlinux.org
Sat Nov 30 16:43:57 UTC 2013


    Date: Saturday, November 30, 2013 @ 17:43:57
  Author: bgyorgy
Revision: 101745

Implement prepare function

Modified:
  gdesklets/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-30 16:30:12 UTC (rev 101744)
+++ PKGBUILD	2013-11-30 16:43:57 UTC (rev 101745)
@@ -24,15 +24,23 @@
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+
+  # Build fix
   patch -Np0 -i "$srcdir/gdesklets-core-0.36.3-.in-files.patch"
+
+  # Runtime fix without gnome-vfs
   patch -Np1 -i "$srcdir/fix-vfs.patch"
-  # https://code.launchpad.net/~ballogy/gdesklets/optional-use-gconf-appindicator/+merge/95809
+
+  # Make gconf dependency optional
   patch -Np1 -i "$srcdir/make-gconf-optional.patch"
 
+  # Python2 fix
   find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
   sed -i 's/python -c/$PYTHON -c/' configure.ac
   sed -i 's/python/python2/' shell/plugins/PackageInstaller/__init__.py
+}
 
+build() {
   autoreconf -fi
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --disable-static \
@@ -42,6 +50,5 @@
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-
   make DESTDIR="$pkgdir/" install
 }




More information about the arch-commits mailing list