[arch-commits] Commit in sparkleshare/trunk (PKGBUILD)

Balló György bgyorgy at nymeria.archlinux.org
Mon Apr 7 22:33:51 UTC 2014


    Date: Tuesday, April 8, 2014 @ 00:33:51
  Author: bgyorgy
Revision: 108949

upgpkg: sparkleshare 1.2-2

FixFix crash when we can't get the username (FS#39595)

Modified:
  sparkleshare/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-07 22:27:08 UTC (rev 108948)
+++ PKGBUILD	2014-04-07 22:33:51 UTC (rev 108949)
@@ -5,7 +5,7 @@
 
 pkgname=sparkleshare
 pkgver=1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Collaboration and sharing tool based on git written in C Sharp"
 arch=('any')
 url="http://sparkleshare.org/"
@@ -13,9 +13,18 @@
 depends=('webkit-sharp' 'notify-sharp' 'curl' 'git' 'openssh' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils')
 makedepends=('intltool' 'gnome-doc-utils')
 install=$pkgname.install
-source=(https://bitbucket.org/hbons/sparkleshare/downloads/$pkgname-linux-$pkgver.tar.gz)
-md5sums=('befc1542079b0fc6e4b57fa7fdfab12e')
+source=(https://bitbucket.org/hbons/sparkleshare/downloads/$pkgname-linux-$pkgver.tar.gz
+        https://github.com/hbons/SparkleShare/commit/ba72a7a30.patch)
+md5sums=('befc1542079b0fc6e4b57fa7fdfab12e'
+         'b9a7fbcf0375331bc1eea5a43cb4a119')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix crash when we can't get the username
+  patch -Np1 -i ../ba72a7a30.patch
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 




More information about the arch-commits mailing list