mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# $Id: PKGBUILD 32490 2009-04-01 03:19:22Z eric $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=dbus-sharp
|
|
pkgver=0.63
|
|
pkgrel=2
|
|
pkgdesc="GLib bindings for DBUS"
|
|
arch=(i686 x86_64)
|
|
url="http://www.freedesktop.org/software/dbus"
|
|
license=('GPL2')
|
|
depends=('dbus-glib>=0.71')
|
|
makedepends=('pkgconfig' 'mono')
|
|
options=('!libtool')
|
|
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
dbus-sharp-0.63-nogtk.patch
|
|
dbus-0.62-mono-no-abi-version-change.patch)
|
|
md5sums=('f2e3e008619bcc373d9a65f323380a36' '5a48876b174c3aa082040ebaef87e885'\
|
|
'd266bc9c081d3026bbd33c5ed0ec681c')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
export MONO_SHARED_DIR="${srcdir}/.wabi"
|
|
mkdir -p "${MONO_SHARED_DIR}"
|
|
|
|
patch -Np1 -i ${srcdir}/dbus-sharp-0.63-nogtk.patch || return 1
|
|
patch -Np1 -i ${srcdir}/dbus-0.62-mono-no-abi-version-change.patch || return 1
|
|
autoreconf --force --install
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--disable-tests --disable-verbose-mode --disable-asserts || return 1
|
|
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
rm -rf "${MONO_SHARED_DIR}"
|
|
}
|