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

Balló György bgyorgy at archlinux.org
Mon Mar 21 16:24:24 UTC 2016


    Date: Monday, March 21, 2016 @ 17:24:23
  Author: bgyorgy
Revision: 167830

Move autoreconf to prepare function

Modified:
  blam/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-21 16:22:49 UTC (rev 167829)
+++ PKGBUILD	2016-03-21 16:24:23 UTC (rev 167830)
@@ -17,11 +17,11 @@
 prepare() {
   cd $pkgname-$pkgver
   sed -i -e 's/dbus-sharp-glib-1.0/dbus-sharp-glib-2.0/g' configure.ac
+  autoreconf -fi
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  autoreconf -fi
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --disable-schemas-install \
               --with-gconf-schema-file-dir=/usr/share/gconf/schemas
@@ -29,7 +29,6 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir/" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list