[arch-commits] Commit in sparkleshare/repos/community-any (3 files)
Balló György
bgyorgy at archlinux.org
Sun Oct 15 19:33:16 UTC 2017
Date: Sunday, October 15, 2017 @ 19:33:15
Author: bgyorgy
Revision: 262989
archrelease: copy trunk to community-any
Added:
sparkleshare/repos/community-any/PKGBUILD
(from rev 262988, sparkleshare/trunk/PKGBUILD)
Deleted:
sparkleshare/repos/community-any/PKGBUILD
sparkleshare/repos/community-any/fix-build.patch
-----------------+
PKGBUILD | 75 ++++++++++++++++++++++++++++--------------------------
fix-build.patch | 12 --------
2 files changed, 40 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-15 19:33:06 UTC (rev 262988)
+++ PKGBUILD 2017-10-15 19:33:15 UTC (rev 262989)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Jarek Sedlacek <JarekSedlacek at gmail.com>
-# Contributor: Erdbeerkaese <erdbeerkaese underscore arch at gmail dot com>
-
-pkgname=sparkleshare
-_pkgname=SparkleShare
-pkgver=1.5
-_gitrev=325bc848afe460911d596eff1e09a4d39cd0b638
-pkgrel=4
-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')
-
-prepare() {
- cd $_pkgname-$_gitrev
- patch -Np1 -i ../fix-build.patch
-}
-
-build() {
- cd $_pkgname-$_gitrev
- ./autogen.sh --prefix=/usr
- make
-}
-
-package() {
- cd $_pkgname-$_gitrev
- make DESTDIR="$pkgdir" install
-}
Copied: sparkleshare/repos/community-any/PKGBUILD (from rev 262988, sparkleshare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-15 19:33:15 UTC (rev 262989)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jarek Sedlacek <JarekSedlacek at gmail.com>
+# Contributor: Erdbeerkaese <erdbeerkaese underscore arch at gmail dot com>
+
+pkgname=sparkleshare
+_pkgname=SparkleShare
+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')
+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 SparkleShare
+ # Fix build
+ sed -i 's/"org.sparkleshare.SparkleShare", new string \[0\]/0, null/' SparkleShare/Linux/UserInterface.cs
+}
+
+build() {
+ cd SparkleShare
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd SparkleShare
+ make DESTDIR="$pkgdir" install
+}
Deleted: fix-build.patch
===================================================================
--- fix-build.patch 2017-10-15 19:33:06 UTC (rev 262988)
+++ fix-build.patch 2017-10-15 19:33:15 UTC (rev 262989)
@@ -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