[arch-commits] Commit in notify-sharp-3 (4 files)
Balló György
bgyorgy at nymeria.archlinux.org
Sun May 11 18:55:42 UTC 2014
Date: Sunday, May 11, 2014 @ 20:55:42
Author: bgyorgy
Revision: 110982
archrelease: copy trunk to community-any
Added:
notify-sharp-3/repos/
notify-sharp-3/repos/community-any/
notify-sharp-3/repos/community-any/PKGBUILD
(from rev 110981, notify-sharp-3/trunk/PKGBUILD)
notify-sharp-3/repos/community-any/avoid-confilct.patch
(from rev 110981, notify-sharp-3/trunk/avoid-confilct.patch)
----------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
avoid-confilct.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: notify-sharp-3/repos/community-any/PKGBUILD (from rev 110981, notify-sharp-3/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2014-05-11 18:55:42 UTC (rev 110982)
@@ -0,0 +1,38 @@
+# $Id$
+# 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.0
+pkgrel=1
+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
+ avoid-confilct.patch)
+sha256sums=('5fb25f6ce9a3c27f0a6b927ee0a4ef6d02f6e6a2b8037d4dd525977840bd9345'
+ '35ddc863f8999850d7444693a33c439b646cd5728a723a12eecdc8cc47808779')
+
+prepare() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ # Avoid conflict with notify-sharp 2
+ patch -Np1 -i ../avoid-confilct.patch
+}
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ autoreconf -fi
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
Copied: notify-sharp-3/repos/community-any/avoid-confilct.patch (from rev 110981, notify-sharp-3/trunk/avoid-confilct.patch)
===================================================================
--- repos/community-any/avoid-confilct.patch (rev 0)
+++ repos/community-any/avoid-confilct.patch 2014-05-11 18:55:42 UTC (rev 110982)
@@ -0,0 +1,44 @@
+diff -Naur notify-sharp-3.0.0.orig/configure.ac notify-sharp-3.0.0/configure.ac
+--- notify-sharp-3.0.0.orig/configure.ac 2013-11-03 15:59:42.000000000 +0100
++++ notify-sharp-3.0.0/configure.ac 2014-04-08 11:20:22.477915534 +0200
+@@ -9,6 +9,9 @@
+ AC_SUBST(API_VERSION)
+ AC_SUBST(VERSION)
+
++PACKAGE_VERSION=notify-sharp-3.0
++AC_SUBST(PACKAGE_VERSION)
++
+ AM_INIT_AUTOMAKE(notify-sharp, $VERSION)
+
+ AM_MAINTAINER_MODE
+diff -Naur notify-sharp-3.0.0.orig/notify-sharp-3.0.pc.in notify-sharp-3.0.0/notify-sharp-3.0.pc.in
+--- notify-sharp-3.0.0.orig/notify-sharp-3.0.pc.in 2013-11-03 15:57:49.000000000 +0100
++++ notify-sharp-3.0.0/notify-sharp-3.0.pc.in 2014-04-08 11:20:39.985024993 +0200
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=${exec_prefix}/lib
+-pkglibdir=${libdir}/mono/notify-sharp
++pkglibdir=${libdir}/mono/@PACKAGE_VERSION@
+
+ Name: notify-sharp
+ Description: C# client library for notification-daemon
+diff -Naur notify-sharp-3.0.0.orig/src/Makefile.am notify-sharp-3.0.0/src/Makefile.am
+--- notify-sharp-3.0.0.orig/src/Makefile.am 2013-01-31 06:10:36.000000000 +0100
++++ notify-sharp-3.0.0/src/Makefile.am 2014-04-08 14:08:31.835246749 +0200
+@@ -21,13 +21,13 @@
+ install-data-local:
+ @if test -n '$(TARGET)'; then \
+ echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /i $(TARGET) /package $(ASSEMBLY) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
++ $(GACUTIL) /i $(TARGET) /package $(PACKAGE_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ fi
+
+ uninstall-local:
+ @if test -n '$(TARGET)'; then \
+ echo "$(GACUTIL) /u $(ASSEMBLY) /gacdir $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
++ $(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ fi
+
+ EXTRA_DIST = \
More information about the arch-commits
mailing list