Browse Source

whoops, move submodule handling to prepare

Jan Alexander Steffens 8 years ago
parent
commit
befc470523
1 changed files with 5 additions and 6 deletions
  1. 5 6
      PKGBUILD

+ 5 - 6
PKGBUILD

@@ -29,18 +29,17 @@ sha256sums=('SKIP'
 
 
 pkgver() {
 pkgver() {
   cd $pkgname
   cd $pkgname
-
-  git submodule init
-  git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
-  git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
-  git submodule update
-
   git describe --tags | sed 's/-/+/g'
   git describe --tags | sed 's/-/+/g'
 }
 }
 
 
 prepare() {
 prepare() {
   cd $pkgname
   cd $pkgname
 
 
+  git submodule init
+  git config --local submodule.src/gvc.url "$srcdir/libgnome-volume-control"
+  git config --local submodule.data/theme/gnome-shell-sass.url "$srcdir/gnome-shell-sass"
+  git submodule update
+
   # FS#30747 FS#32730 Problems due to libexecdir different from NM
   # FS#30747 FS#32730 Problems due to libexecdir different from NM
   patch -Np1 -i ../nm-libexecdir.patch
   patch -Np1 -i ../nm-libexecdir.patch