PKGBUILDs/extra/webkitgtk/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2013-06-07 18:32:13 +00:00
# $Id$
2013-04-24 19:11:36 +00:00
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - re-enabled --disable-silent-rules, needed for v5 and v6 to build
2013-06-07 18:32:13 +00:00
pkgname=webkitgtk
2013-06-12 20:57:10 +00:00
pkgver=2.0.3
pkgrel=1
2013-06-07 18:32:13 +00:00
pkgdesc="GTK+ Web content engine library"
arch=(i686 x86_64)
2013-04-24 19:11:36 +00:00
url="http://webkitgtk.org/"
2013-06-07 18:32:13 +00:00
license=(custom)
2013-06-12 20:57:10 +00:00
depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk3 gst-plugins-base-libs
libsecret libwebp harfbuzz-icu)
2013-06-07 18:32:13 +00:00
makedepends=(gtk2 gperf gobject-introspection python mesa ruby gtk-doc)
2013-06-12 20:57:10 +00:00
optdepends=('gtk2: Netscape plugin support')
2013-06-07 18:32:13 +00:00
provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
2013-06-12 20:57:10 +00:00
conflicts=(webkitgtk3 libwebkit3)
2013-06-07 18:32:13 +00:00
replaces=(webkitgtk3 libwebkit3)
options=(!libtool !emptydirs)
2013-06-12 20:57:10 +00:00
source=(http://webkitgtk.org/releases/$pkgname-${pkgver}.tar.xz)
sha256sums=('9bf8a32afbf087c4fc2c652b193a52c44b180735ba9c7c8db88137904d458e1b')
2013-04-24 19:11:36 +00:00
build() {
2013-06-07 18:32:13 +00:00
cd $pkgname-$pkgver
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--enable-introspection --disable-silent-rules
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2013-04-24 19:11:36 +00:00
make all stamp-po
}
2013-06-07 18:32:13 +00:00
package() {
cd $pkgname-$pkgver
2013-04-24 19:11:36 +00:00
make -j1 DESTDIR="$pkgdir" install
2013-06-07 18:32:13 +00:00
install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2013-04-24 19:11:36 +00:00
}