gtk/libwebkit-gtk2/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2013-04-28 04:27:26 +08:00
# CCR: Ben R <thebenj88 *AT* gmail *DOT* com>
pkgname=libwebkit-gtk2
pkgver=1.7.1
2013-04-29 04:40:53 +08:00
pkgrel=3
2013-04-28 04:27:26 +08:00
pkgdesc="An opensource web content engine"
2013-04-29 04:40:53 +08:00
arch=('x86_64')
2013-04-28 04:27:26 +08:00
url="http://webkitgtk.org/"
license=('custom')
depends=('libxt' 'libxslt' 'sqlite3' 'icu' 'gstreamer0.10-base' 'libsoup' 'enchant')
2013-04-29 04:40:53 +08:00
makedepends=('gperf' 'gobject-introspection' 'python2' 'gtk2' 'ruby' 'filesystem-extra')
2013-04-28 04:27:26 +08:00
provides=('libwebkit')
options=('!libtool' '!emptydirs')
install=libwebkit.install
source=(http://webkitgtk.org/releases/webkit-${pkgver}.tar.gz
test_netscape-gcc_3.7.patch)
sha256sums=('d928be29ec403cdaa4ef77766d0b08990b477f97b9cc3d008d347d3040493ed9'
'9f00344fecf78335208cd4450328ed48c79d4982f54cefdb05869f33f8fabffe')
build() {
cd "${srcdir}/webkit-${pkgver}/Tools/DumpRenderTree/TestNetscapePlugIn"
patch -uNp1 -i "${srcdir}/test_netscape-gcc_3.7.patch"
cd "${srcdir}/webkit-${pkgver}"
mkdir build-gtk2
cd build-gtk2
2013-04-29 04:40:53 +08:00
PYTHON=/usr/bin/python2 ../configure --prefix=/extra/usr \
2013-04-28 04:27:26 +08:00
--enable-introspection \
--with-font-backend=freetype --disable-gtk-doc \
--with-unicode-backend=icu \
--with-gtk=2.0 \
--enable-spellcheck "$@"
make all stamp-po
}
package() {
cd "$srcdir/webkit-$pkgver/build-gtk2"
make DESTDIR="${pkgdir}" install
2013-04-29 04:40:53 +08:00
install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/extra/usr/share/licenses/libwebkit/LICENSE"
2013-04-28 04:27:26 +08:00
}