mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 05:57:16 +08:00
0f8acd366c
dbus-glib: dito dbus-python: dito dbus-sharp: update patch, fix broken update systemd: update to v35 & add fixes
37 lines
995 B
Bash
37 lines
995 B
Bash
# $Id: PKGBUILD 32490 2009-04-01 03:19:22Z eric $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Maintainer (x86_64:) Mateusz Krawczuk <willingmagic[at]gmail[dot]com>
|
|
|
|
pkgname=dbus-sharp
|
|
pkgver=0.7.0
|
|
pkgrel=1
|
|
pkgdesc="C# implementation of D-Bus"
|
|
arch=('any')
|
|
url="http://github.com/mono/dbus-sharp/"
|
|
license=('custom')
|
|
depends=('mono')
|
|
makedepends=('pkgconfig')
|
|
options=(!makeflags)
|
|
source=(https://github.com/downloads/mono/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
dbus-sharp-0.7.0-nogtk.patch)
|
|
md5sums=('1964fc341dcbaeda859c53cee295d042'
|
|
'2ac099fbfdbd206d57dd1e5cf3ab4e97')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
export MONO_SHARED_DIR="${srcdir}/.wabi"
|
|
mkdir -p "${MONO_SHARED_DIR}"
|
|
|
|
patch -Np1 -i ${srcdir}/dbus-sharp-0.7.0-nogtk.patch
|
|
|
|
./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"
|
|
}
|