archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dbus-sharp-glib / trunk / PKGBUILD
blob4dccbaa2f9e15036403589becda74e76fd1f894b
1 # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
2 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
4 pkgname=dbus-sharp-glib
5 pkgver=0.6.0
6 pkgrel=3
7 pkgdesc="C# GLib implementation of D-Bus"
8 arch=('any')
9 url="https://github.com/mono/dbus-sharp-glib/"
10 license=('custom')
11 depends=('dbus-sharp>=0.8')
12 makedepends=('pkgconfig')
13 options=(!makeflags)
14 source=(https://github.com/mono/$pkgname/releases/download/v${pkgver:0:3}/$pkgname-$pkgver.tar.gz)
15 sha256sums=('d5b44d3ffa419730df0a6a6fff1e6912c80bc364e4176444e48264853989ce3b')
17 prepare() {
18   cd "$srcdir/$pkgname-$pkgver"
19   sed -e 's/gmcs/mcs/g' -i configure
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
25   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
26   make
29 package(){
30   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir" install
32   install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"