Commits

Jason Ryan committed f50c691

Moved config check to build
prepare() isn't run on existing code

Comments (0)

Files changed (1)

Build/vimprobable2-git/PKGBUILD

 
 pkgname=vimprobable2-git
 pkgver=1.3.0_b451324
-pkgrel=1
+pkgrel=2
 pkgdesc="WWW browser that behaves like the Vimperator plugin available for Mozilla Firefox. It is based on the WebKit engine (using GTK bindings). It is a fork of the currently abandoned vimpression (former webkitbrowser)."
 arch=('i686' 'x86_64')
 url="http://www.yllr.net/vimprobable/"
 prepare() {
   cd "$srcdir/$_gitname"
   sed -i 's:LIBS = gtk+-2.0 webkit-1.0 libsoup-2.4:LIBS = gtk+-2.0 webkit-1.0 libsoup-2.4 javascriptcoregtk-1.0:' Makefile
+}
+
+build() {
+  cd "$srcdir/$_gitname"
   if [[ -f "$SRCDEST"/config.h ]]; then
       msg "Using your config.h" && cp "$SRCDEST"/config.h .
   fi
   if [[ -f "$SRCDEST"/keymap.h ]]; then
       msg "Using your keymap.h" && cp "$SRCDEST"/keymap.h .
   fi
-}
-
-build() {
-  cd "$srcdir/$_gitname"
   make
 }