summaryrefslogtreecommitdiff
path: root/extra/webkit-sharp/PKGBUILD
blob: aca4645b3e50bcdce0c603a426ab3c5f1108441d (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
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Paul Burton <paulburton89@gmail.com>
# Contributor: rabyte <rabyte__gmail>

pkgname=webkit-sharp
pkgver=0.3
pkgrel=2
pkgdesc="Mono/.NET bindings for the WebKit rendering engine"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.mono-project.com/"
license=('custom:MIT')
depends=('gtk-sharp-2' 'libwebkit>=1.4.0')
makedepends=('pkgconfig>=0.9.0')
source=(ftp://ftp.novell.com/pub/mono/sources/$pkgname/${pkgname}-${pkgver}.tar.bz2)
md5sums=('21482f9d5eafb0ef4acc6e790482f934')

build() {
  export MONO_SHARED_DIR="${srcdir}/.wabi"
  mkdir -p "${MONO_SHARED_DIR}"

  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's:webkit-1.0@LIB_PREFIX@.2@:libwebkitgtk-1.0@LIB_PREFIX@.0.7.0@:' sources/webkit-sharp.dll.config.in
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING

}