summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c68c54e4c6c5a1e9315bf7a43c495dd70c041394 (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
# Maintainer: Jefferson Gonzalez <jgmdev@gmail.com>

pkgname=webkit-sharp
pkgver=0.3
pkgrel=6
pkgdesc="Mono/.NET bindings for the WebKit rendering engine for GTK 2."
arch=('i686' 'x86_64')
url="http://www.mono-project.com/"
license=('MIT')
depends=('gtk-sharp-2' 'webkitgtk2')
source=("https://github.com/mono/webkit-sharp/archive/0.3.tar.gz")
sha256sums=('SKIP')

prepare() {
    cd "$srcdir/$pkgname-$pkgver"
    sed -i "s|webkit-1.0@LIB_PREFIX@.2@LIB_SUFFIX@|libwebkitgtk-1.0.so.0|g" sources/webkit-sharp.dll.config.in
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh --prefix=/usr
  make -j1
}

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