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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:24:15 UTC 2018


    Date: Friday, November 9, 2018 @ 23:24:15
  Author: foutrelis
Revision: 405273

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 405272, notify-sharp-3/trunk/PKGBUILD)
  notify-sharp-3/repos/community-staging-any/use_dbussharp_2.pc
    (from rev 405272, 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 405272, notify-sharp-3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:24:15 UTC (rev 405273)
@@ -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=3
+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 405272, notify-sharp-3/trunk/use_dbussharp_2.pc)
===================================================================
--- community-staging-any/use_dbussharp_2.pc	                        (rev 0)
+++ community-staging-any/use_dbussharp_2.pc	2018-11-09 23:24:15 UTC (rev 405273)
@@ -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