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

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


    Date: Monday, March 21, 2016 @ 17:30:41
  Author: bgyorgy
Revision: 167832

Move autoreconf to prepare function

Modified:
  gnac/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-21 16:28:53 UTC (rev 167831)
+++ PKGBUILD	2016-03-21 16:30:41 UTC (rev 167832)
@@ -21,16 +21,17 @@
             '57331aaf1987e8920594a4a753bed2c719d2152c7448ab53ba09ec208521abae')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
   # Port to GStreamer 1.0
   patch -Np1 -i ../gstreamer-1.0.patch
+
+  autoreconf -fi
+  intltoolize --force
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  autoreconf -fi
-  intltoolize --force
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --disable-static --disable-schemas-compile
   make
@@ -37,6 +38,6 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list