瀏覽代碼

whoops, move submodule handling to prepare

Jan Alexander Steffens 8 年之前
父節點
當前提交
befc470523
共有 1 個文件被更改,包括 5 次插入6 次删除
  1. 5 6
      PKGBUILD

+ 5 - 6
PKGBUILD

@@ -29,18 +29,17 @@ sha256sums=('SKIP'
 
 pkgver() {
   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'
 }
 
 prepare() {
   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
   patch -Np1 -i ../nm-libexecdir.patch