[arch-commits] Commit in notify-sharp-3/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:18:20 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:18:20
  Author: felixonmars
Revision: 658405

archrelease: copy trunk to community-staging-any

Added:
  notify-sharp-3/repos/community-staging-any/
  notify-sharp-3/repos/community-staging-any/PKGBUILD
    (from rev 658403, notify-sharp-3/trunk/PKGBUILD)
  notify-sharp-3/repos/community-staging-any/use_dbussharp_2.pc
    (from rev 658403, notify-sharp-3/trunk/use_dbussharp_2.pc)

--------------------+
 PKGBUILD           |   36 ++++++++++++++++++++++++++++++++++++
 use_dbussharp_2.pc |   15 +++++++++++++++
 2 files changed, 51 insertions(+)

Copied: notify-sharp-3/repos/community-staging-any/PKGBUILD (from rev 658403, notify-sharp-3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:18:20 UTC (rev 658405)
@@ -0,0 +1,36 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jorge Mokross <mokross at gmail.com>
+
+pkgname=notify-sharp-3
+_pkgname=notify-sharp
+pkgver=3.0.3
+pkgrel=4
+pkgdesc="C# D-Bus client library for desktop notifications (GTK+ 3 version)"
+arch=('any')
+url="https://www.meebey.net/projects/notify-sharp/"
+license=('MIT')
+depends=('gtk-sharp-3' 'dbus-sharp-glib') 
+source=(https://www.meebey.net/projects/$_pkgname/downloads/$_pkgname-$pkgver.tar.gz
+        use_dbussharp_2.pc)
+sha256sums=('a62ed07850a122e2bb7f2b88b32cf2fa675b60b912c0aeefb23f554ebfb1e56d'
+            '6a6b13725d2b5161271f3d350e568abc2ba80130d9553089c46c4cad3bea66f9')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  patch -Np1 -i ../use_dbussharp_2.pc
+  sed -i 's/gmcs/mcs/' configure{,.ac}
+  autoreconf -fi
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: notify-sharp-3/repos/community-staging-any/use_dbussharp_2.pc (from rev 658403, notify-sharp-3/trunk/use_dbussharp_2.pc)
===================================================================
--- community-staging-any/use_dbussharp_2.pc	                        (rev 0)
+++ community-staging-any/use_dbussharp_2.pc	2020-07-07 13:18:20 UTC (rev 658405)
@@ -0,0 +1,15 @@
+Index: notify-sharp/configure.ac
+===================================================================
+--- notify-sharp.orig/configure.ac	2013-10-30 17:08:11.823924561 +0000
++++ notify-sharp/configure.ac	2013-10-30 17:08:39.132039728 +0000
+@@ -68,8 +68,8 @@
+ 
+ DBUS_SHARP_REQ_VERSION=0.7
+ DBUS_SHARP_GLIB_REQ_VERSION=0.5
+-PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-1.0 >= $DBUS_SHARP_REQ_VERSION \
+-                              dbus-sharp-glib-1.0 >= $DBUS_SHARP_GLIB_REQ_VERSION)
++PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-2.0 >= $DBUS_SHARP_REQ_VERSION \
++                              dbus-sharp-glib-2.0 >= $DBUS_SHARP_GLIB_REQ_VERSION)
+ AC_SUBST(DBUS_SHARP_LIBS)
+ 
+ required_assemblies="Mono.Posix"


More information about the arch-commits mailing list