blob: 87cc99e47bde0bb674a20f04ed672531965f0614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 137770 2011-09-10 17:09:41Z pierre $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>
pkgname=gecko-sharp-2.0
pkgver=0.13
pkgrel=4
pkgdesc="C# bindings for gtkmozembed"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'MPL')
url="http://www.mono-project.com/"
depends=('xulrunner' 'gtk-sharp-2')
makedepends=('monodoc' 'pkgconfig')
source=("http://go-mono.com/sources/gecko-sharp-2.0/gecko-sharp-2.0-${pkgver}.tar.bz2"
'gecko-sharp-2.0-0.12-xulrunner.patch')
md5sums=('f88eaa06e71f8d8fa34cf59a3e034a6b'
'4f2c07c3fb0c1a94adaa4e4c8d57608b')
build() {
# get rid of that .wapi errors; thanks to brice
export MONO_SHARED_DIR="${srcdir}/weird"
mkdir -p "${MONO_SHARED_DIR}"
cd ${srcdir}/gecko-sharp-2.0-${pkgver}
patch -Np1 -i ${srcdir}/gecko-sharp-2.0-0.12-xulrunner.patch
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/gecko-sharp-2.0-${pkgver}
make GACUTIL="/usr/bin/gacutil /root ${pkgdir}/usr/lib" \
DESTDIR=${pkgdir} install
}
|