Date: Monday, March 21, 2016 @ 17:18:36
  Author: bgyorgy
Revision: 167827

Use git shapshot instead of cloning the whole repo

Modified:
  budgie-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-03-21 16:01:57 UTC (rev 167826)
+++ PKGBUILD    2016-03-21 16:18:36 UTC (rev 167827)
@@ -2,8 +2,10 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=budgie-desktop
+_helper_pkgname=budgie-helper
 pkgver=10.2.4
-pkgrel=3
+_helper_gitrev=4b68fcf6d26326d80d41bf4d889d156312bf231a
+pkgrel=3.1
 pkgdesc="Modern desktop environment from the Solus Project"
 arch=('i686' 'x86_64')
 url="https://solus-project.com/budgie";
@@ -16,11 +18,11 @@
             'network-manager-applet: Network management')
 install=$pkgname.install
 
source=("https://github.com/solus-project/budgie-desktop/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz";
-        "git+https://github.com/City-busz/budgie-helper.git#commit=4b68fcf";
+        
"$_helper_pkgname-$_helper_gitrev.tar.gz::https://codeload.github.com/City-busz/$_helper_pkgname/tar.gz/$_helper_gitrev";
         "0001-panel-Fix-missing-panel-background.patch"
         "0001-Port-CSS-files-to-GTK-3.20.patch")
 sha256sums=('b01e7be9349cbc26cd77db74a0c138d21c31d8bad21a02b31828014b416256f7'
-            'SKIP'
+            'd558ce2b9978bd383572ac29939bebaa8d7271382686035d4a8373701afe85df'
             '7212d6f08c7ceaeefc0f97ad125b8a04b6f689a31a7059677067f9e111f54eb6'
             'cc7d7d7c0be0e445c349c6a0eb60f2bbcf7e76f26f56cf3dec6e0618d9b0ac26')
 
@@ -43,7 +45,7 @@
        # https://github.com/solus-project/budgie-desktop/issues/359
        # patch -Np1 -i ../0001-Port-CSS-files-to-GTK-3.20.patch
 
-       cd "$srcdir/budgie-helper"
+       cd "$srcdir/$_helper_pkgname-$_helper_gitrev"
        # Provide better compatibility for GNOME
        # https://github.com/solus-project/budgie-desktop/issues/261
        NOCONFIGURE=1 ./autogen.sh
@@ -58,7 +60,7 @@
 
        make
 
-       cd "$srcdir/budgie-helper"
+       cd "$srcdir/$_helper_pkgname-$_helper_gitrev"
        ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile 
--disable-Werror
        make
 }
@@ -67,6 +69,6 @@
        cd $pkgname-$pkgver
        make DESTDIR="$pkgdir" install
 
-       cd "$srcdir/budgie-helper"
+       cd "$srcdir/$_helper_pkgname-$_helper_gitrev"
        make DESTDIR="$pkgdir" install
 }

Reply via email to