summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/epiphany/PKGBUILD34
1 files changed, 23 insertions, 11 deletions
diff --git a/libre/epiphany/PKGBUILD b/libre/epiphany/PKGBUILD
index fd3c53b22..d9cb83147 100644
--- a/libre/epiphany/PKGBUILD
+++ b/libre/epiphany/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 267066 2016-05-06 22:31:13Z heftig $
+# $Id: PKGBUILD 278498 2016-10-12 16:51:11Z heftig $
# Maintainer (Arch): Jan de Groot <jgc@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
pkgname=epiphany
-pkgver=3.20.3
-pkgrel=2.parabola1
+pkgver=3.22.1+5+g5d281a8
+pkgrel=1.parabola1
pkgdesc="A GNOME web browser based on the WebKit rendering engine, with DuckDuckGo HTML support"
url="https://wiki.gnome.org/Apps/Web"
arch=(i686 x86_64 armv7h)
@@ -13,20 +13,32 @@ license=(GPL)
depends=(libsoup libnotify gsettings-desktop-schemas webkit2gtk nss iso-codes
dconf gcr gnome-desktop libwnck3 gnome-themes-standard)
makedepends=(intltool itstool docbook-xml startup-notification
- gobject-introspection)
-options=(!emptydirs)
+ gobject-introspection yelp-tools autoconf-archive appstream-glib git)
groups=(gnome)
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+_commit=5d281a891b956ad714ce91d37c64438eadeca7bc # gnome-3-22
+source=("git://git.gnome.org/epiphany#commit=$_commit"
+ "git://git.gnome.org/libgd"
pluginsdir.diff)
-sha256sums=('4d9de1bdb44c14adf25aa6dc02ea3de60925cff5eb01fe89545e6032c9b424a2'
+sha256sums=('SKIP'
+ 'SKIP'
'42a7b820fd659fee8508a9b9a57e385c658b3b312c7a8f9456078223e4d78f22')
+pkgver() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.libgd.url "$srcdir/libgd"
+ git submodule update
+
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
patch -Np1 -i ../pluginsdir.diff
- autoreconf -fvi
+ NOCONFIGURE=1 ./autogen.sh
# Replace DuckDuckGo to DuckDuckGo HTML
sed -i 's|duckduckgo[.]com|duckduckgo.com/html|g' $(grep -rlI 'duckduckgo[.]com')
@@ -42,7 +54,7 @@ prepare() {
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/$pkgname
@@ -53,6 +65,6 @@ build() {
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}