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

Balló György bgyorgy at nymeria.archlinux.org
Sat Nov 30 17:50:37 UTC 2013


    Date: Saturday, November 30, 2013 @ 18:50:37
  Author: bgyorgy
Revision: 101751

Implement prepare function

Modified:
  gnokii/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-30 17:42:47 UTC (rev 101750)
+++ PKGBUILD	2013-11-30 17:50:37 UTC (rev 101751)
@@ -26,7 +26,7 @@
          'b2961b52ac1f770c4704ccc50b64fde2'
          '17b629db85a6bb2b98ca59941aa95295')
 
-build() {
+prepare() {
   cd $pkgname-$pkgver
 
   # Set bindir location
@@ -34,7 +34,10 @@
 
   # Set lock path
   patch -Np1 -i "$srcdir/gnokii-lock.patch"
+}
 
+build() {
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
               --disable-static --enable-security
   make




More information about the arch-commits mailing list