[arch-commits] Commit in sparkleshare/trunk (PKGBUILD fix-build.patch)
Balló György
bgyorgy at archlinux.org
Sun Jan 31 03:24:31 UTC 2016
Date: Sunday, January 31, 2016 @ 04:24:31
Author: bgyorgy
Revision: 159640
upgpkg: sparkleshare 1.5-1
Update to new version
Added:
sparkleshare/trunk/fix-build.patch
Modified:
sparkleshare/trunk/PKGBUILD
-----------------+
PKGBUILD | 20 ++++++++++++++------
fix-build.patch | 12 ++++++++++++
2 files changed, 26 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-31 00:29:10 UTC (rev 159639)
+++ PKGBUILD 2016-01-31 03:24:31 UTC (rev 159640)
@@ -4,7 +4,8 @@
# Contributor: Erdbeerkaese <erdbeerkaese underscore arch at gmail dot com>
pkgname=sparkleshare
-pkgver=1.4
+pkgver=1.5
+_pkgver=1.5.0
pkgrel=1
pkgdesc="Collaboration and sharing tool based on git written in C Sharp"
arch=('any')
@@ -12,16 +13,23 @@
license=('GPL3')
depends=('webkitgtk-sharp' 'notify-sharp-3' 'curl' 'git' 'openssh' 'desktop-file-utils')
install=$pkgname.install
-source=(https://bitbucket.org/hbons/sparkleshare/downloads/$pkgname-linux-$pkgver.tar.gz)
-md5sums=('66ae2b680d723f7a8b38e184d3b3dc55')
+source=(https://bitbucket.org/hbons/sparkleshare/downloads/$pkgname-linux-$pkgver.tar.gz
+ fix-build.patch)
+md5sums=('1363d86129d7ce5adc1b2f02aaf3402f'
+ 'e940815cf3a666af0cc8e366bc4513ea')
+prepare() {
+ cd "$srcdir/$pkgname-$_pkgver"
+ patch -Np1 -i ../fix-build.patch
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$_pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgname-$_pkgver"
+ make DESTDIR="$pkgdir" install
}
Added: fix-build.patch
===================================================================
--- fix-build.patch (rev 0)
+++ fix-build.patch 2016-01-31 03:24:31 UTC (rev 159640)
@@ -0,0 +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 @@
+
+ public void Run ()
+ {
+- (this.application as GLib.Application).Run (null, null);
++ (this.application as GLib.Application).Run (0, null);
+ }
+
+
More information about the arch-commits
mailing list