[arch-commits] Commit in epiphany/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Sep 27 20:31:37 UTC 2016


    Date: Tuesday, September 27, 2016 @ 20:31:36
  Author: heftig
Revision: 277170

3.22.0+6+gdbb6b80-1

Modified:
  epiphany/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 20:28:38 UTC (rev 277169)
+++ PKGBUILD	2016-09-27 20:31:36 UTC (rev 277170)
@@ -2,8 +2,8 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=epiphany
-pkgver=3.20.3
-pkgrel=2
+pkgver=3.22.0+6+gdbb6b80
+pkgrel=1
 pkgdesc="A GNOME web browser based on the WebKit rendering engine"
 url="https://wiki.gnome.org/Apps/Web"
 arch=(i686 x86_64)
@@ -11,22 +11,27 @@
 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)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+_commit=dbb6b80fda3d68a5bf2a2d13a674b3c3007480b5  # gnome-3-22
+source=("git://git.gnome.org/epiphany#commit=$_commit"
         pluginsdir.diff)
-sha256sums=('4d9de1bdb44c14adf25aa6dc02ea3de60925cff5eb01fe89545e6032c9b424a2'
+sha256sums=('SKIP'
             '42a7b820fd659fee8508a9b9a57e385c658b3b312c7a8f9456078223e4d78f22')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   patch -Np1 -i ../pluginsdir.diff
-  autoreconf -fvi
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --libexecdir=/usr/lib/$pkgname
 
@@ -37,6 +42,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list