[arch-commits] Commit in sparkleshare/repos/community-any (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Wed Jul 18 16:49:50 UTC 2018
Date: Wednesday, July 18, 2018 @ 16:49:50
Author: bgyorgy
Revision: 362257
archrelease: copy trunk to community-any
Added:
sparkleshare/repos/community-any/PKGBUILD
(from rev 362256, sparkleshare/trunk/PKGBUILD)
Deleted:
sparkleshare/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-18 16:49:47 UTC (rev 362256)
+++ PKGBUILD 2018-07-18 16:49:50 UTC (rev 362257)
@@ -1,40 +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=2.0.1
-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=ab6e95415e09483649b9362b26e204676a20a2a8 # tags/2.0.1
-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
-}
Copied: sparkleshare/repos/community-any/PKGBUILD (from rev 362256, sparkleshare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-18 16:49:50 UTC (rev 362257)
@@ -0,0 +1,38 @@
+# $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=3.28
+pkgrel=1
+pkgdesc="Collaboration and sharing tool based on git written in C Sharp"
+arch=('any')
+url="https://www.sparkleshare.org/"
+license=('GPL3')
+depends=('webkit2-sharp' 'notify-sharp-3' 'curl' 'git' 'openssh' 'gvfs')
+makedepends=(git meson)
+_commit=3176efc8c38f5effba780aa9bbc0b1d5a313129a # tags/3.28
+source=("git+https://github.com/hbons/SparkleShare.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $_pkgname
+ # Fix build
+ sed -i '/post-install.sh/d' meson.build
+}
+
+build() {
+ arch-meson $_pkgname build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list