[arch-commits] Commit in dbus-sharp-glib/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:18:02 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:18:02
  Author: felixonmars
Revision: 383820

archrelease: copy trunk to staging-any

Added:
  dbus-sharp-glib/repos/staging-any/
  dbus-sharp-glib/repos/staging-any/PKGBUILD
    (from rev 383818, dbus-sharp-glib/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: dbus-sharp-glib/repos/staging-any/PKGBUILD (from rev 383818, dbus-sharp-glib/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 09:18:02 UTC (rev 383820)
@@ -0,0 +1,33 @@
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Alessio Biancalana <dottorblaster at gmail.com>
+
+pkgname=dbus-sharp-glib
+pkgver=0.6.0
+pkgrel=3
+pkgdesc="C# GLib implementation of D-Bus"
+arch=('any')
+url="https://github.com/mono/dbus-sharp-glib/"
+license=('custom')
+depends=('dbus-sharp>=0.8')
+makedepends=('pkgconfig')
+options=(!makeflags)
+source=(https://github.com/mono/$pkgname/releases/download/v${pkgver:0:3}/$pkgname-$pkgver.tar.gz)
+sha256sums=('d5b44d3ffa419730df0a6a6fff1e6912c80bc364e4176444e48264853989ce3b')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -e 's/gmcs/mcs/g' -i configure
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make
+}
+
+package(){
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


More information about the arch-commits mailing list