[arch-commits] Commit in sparkleshare/trunk (PKGBUILD fix-build.patch)
Balló György
bgyorgy at archlinux.org
Sun Oct 15 19:33:07 UTC 2017
Date: Sunday, October 15, 2017 @ 19:33:06
Author: bgyorgy
Revision: 262988
upgpkg: sparkleshare 2.0.0-1
Update to new version
Modified:
sparkleshare/trunk/PKGBUILD
Deleted:
sparkleshare/trunk/fix-build.patch
-----------------+
PKGBUILD | 27 ++++++++++++++++-----------
fix-build.patch | 12 ------------
2 files changed, 16 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-15 19:12:00 UTC (rev 262987)
+++ PKGBUILD 2017-10-15 19:33:06 UTC (rev 262988)
@@ -5,31 +5,36 @@
pkgname=sparkleshare
_pkgname=SparkleShare
-pkgver=1.5
-_gitrev=325bc848afe460911d596eff1e09a4d39cd0b638
-pkgrel=4
+pkgver=2.0.0
+pkgrel=1
pkgdesc="Collaboration and sharing tool based on git written in C Sharp"
arch=('any')
url="http://sparkleshare.org/"
license=('GPL3')
depends=('webkit2-sharp' 'notify-sharp-3' 'curl' 'git' 'openssh' 'gvfs')
-source=("$pkgname-$_gitrev.tar.gz::https://codeload.github.com/hbons/$pkgname/tar.gz/$_gitrev"
- fix-build.patch)
-sha256sums=('SKIP'
- 'a88575667a5e8ffcce8ed2437033df23202fb0ec76db9b1fd43d27b0e9205057')
+makedepends=(git)
+_commit=b4b741b1d06f0eabc80d1927588328b928ee3d11 # tags/2.0.0
+source=("git+https://github.com/hbons/SparkleShare.git#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd SparkleShare
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $_pkgname-$_gitrev
- patch -Np1 -i ../fix-build.patch
+ cd SparkleShare
+ # Fix build
+ sed -i 's/"org.sparkleshare.SparkleShare", new string \[0\]/0, null/' SparkleShare/Linux/UserInterface.cs
}
build() {
- cd $_pkgname-$_gitrev
+ cd SparkleShare
./autogen.sh --prefix=/usr
make
}
package() {
- cd $_pkgname-$_gitrev
+ cd SparkleShare
make DESTDIR="$pkgdir" install
}
Deleted: fix-build.patch
===================================================================
--- fix-build.patch 2017-10-15 19:12:00 UTC (rev 262987)
+++ fix-build.patch 2017-10-15 19:33:06 UTC (rev 262988)
@@ -1,12 +0,0 @@
-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 ()
- {
-- (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