[arch-commits] Commit in sparkleshare/trunk (PKGBUILD fix-build.patch)

Balló György bgyorgy at archlinux.org
Sat Jan 21 17:43:41 UTC 2017


    Date: Saturday, January 21, 2017 @ 17:43:40
  Author: bgyorgy
Revision: 208283

upgpkg: sparkleshare 1.5-3

Update to git snapshot to avoid depending on old webkitgtk

Modified:
  sparkleshare/trunk/PKGBUILD
  sparkleshare/trunk/fix-build.patch

-----------------+
 PKGBUILD        |   21 +++++++++++----------
 fix-build.patch |   12 ++++++------
 2 files changed, 17 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-21 17:40:59 UTC (rev 208282)
+++ PKGBUILD	2017-01-21 17:43:40 UTC (rev 208283)
@@ -4,31 +4,32 @@
 # Contributor: Erdbeerkaese <erdbeerkaese underscore arch at gmail dot com>
 
 pkgname=sparkleshare
+_pkgname=SparkleShare
 pkgver=1.5
-_pkgver=1.5.0
-pkgrel=2
+_gitrev=325bc848afe460911d596eff1e09a4d39cd0b638
+pkgrel=3
 pkgdesc="Collaboration and sharing tool based on git written in C Sharp"
 arch=('any')
 url="http://sparkleshare.org/"
 license=('GPL3')
-depends=('webkitgtk-sharp' 'notify-sharp-3' 'curl' 'git' 'openssh')
-source=(https://bitbucket.org/hbons/sparkleshare/downloads/$pkgname-linux-$pkgver.tar.gz
+depends=('webkit2-sharp' 'notify-sharp-3' 'curl' 'git' 'openssh')
+source=("$pkgname-$_gitrev.tar.gz::https://codeload.github.com/hbons/$pkgname/tar.gz/$_gitrev"
         fix-build.patch)
-md5sums=('1363d86129d7ce5adc1b2f02aaf3402f'
-         'e940815cf3a666af0cc8e366bc4513ea')
+sha256sums=('SKIP'
+            'a88575667a5e8ffcce8ed2437033df23202fb0ec76db9b1fd43d27b0e9205057')
 
 prepare() {
-  cd $pkgname-$_pkgver
+  cd $_pkgname-$_gitrev
   patch -Np1 -i ../fix-build.patch
 }
 
 build() {
-  cd $pkgname-$_pkgver
-  ./configure --prefix=/usr
+  cd $_pkgname-$_gitrev
+  ./autogen.sh --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$_pkgver
+  cd $_pkgname-$_gitrev
   make DESTDIR="$pkgdir" install
 }

Modified: fix-build.patch
===================================================================
--- fix-build.patch	2017-01-21 17:40:59 UTC (rev 208282)
+++ fix-build.patch	2017-01-21 17:43:40 UTC (rev 208283)
@@ -1,12 +1,12 @@
-diff -Naur sparkleshare-1.5.0.orig/SparkleShare/Linux/SparkleUI.cs sparkleshare-1.5.0/SparkleShare/Linux/SparkleUI.cs
---- sparkleshare-1.5.0.orig/SparkleShare/Linux/SparkleUI.cs	2016-01-31 03:10:01.820152958 +0000
-+++ sparkleshare-1.5.0/SparkleShare/Linux/SparkleUI.cs	2016-01-31 03:15:36.915518296 +0000
-@@ -61,7 +61,7 @@
+diff -Naur SparkleShare-325bc848afe460911d596eff1e09a4d39cd0b638.orig/SparkleShare/Linux/UserInterface.cs SparkleShare-325bc848afe460911d596eff1e09a4d39cd0b638/SparkleShare/Linux/UserInterface.cs
+--- SparkleShare-325bc848afe460911d596eff1e09a4d39cd0b638.orig/SparkleShare/Linux/UserInterface.cs	2016-12-16 19:27:32.000000000 +0100
++++ SparkleShare-325bc848afe460911d596eff1e09a4d39cd0b638/SparkleShare/Linux/UserInterface.cs	2017-01-21 18:07:36.298740982 +0100
+@@ -62,7 +62,7 @@
  
          public void Run ()
          {   
--            (this.application as GLib.Application).Run (null, null);
-+            (this.application as GLib.Application).Run (0, null);
+-            (application as GLib.Application).Run ("org.sparkleshare.SparkleShare", new string [0]);
++            (application as GLib.Application).Run (0, null);
          }
  
  



More information about the arch-commits mailing list