summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8888578f301ed4276b7f6d1323445fc500e5c5c (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
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Adria Arrufat

_pkgname=epiphany
pkgname=$_pkgname-git
pkgver=3.31.3+2+g29cbc2166
pkgrel=1
pkgdesc="A GNOME web browser based on the WebKit rendering engine."
url="http://www.gnome.org/projects/$_pkgname/"
arch=('i686' 'x86_64')
license=('GPL')
depends=(webkit2gtk gcr libdazzle)
makedepends=(meson docbook-xml startup-notification lsb-release
             gobject-introspection yelp-tools autoconf-archive appstream-glib git)
groups=(gnome)
replaces=(epiphany)
provides=(epiphany)
conflicts=(epiphany)
source=("git+https://gitlab.gnome.org/GNOME/$_pkgname.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --always | sed 's/-/+/g'
}

build() {
  cd $_pkgname
  [ -d build ] && rm -rf build
  meson build --prefix=/usr --buildtype=release -Denable_https_everywhere=false
  ninja -C build
}

check() {
  cd $_pkgname
  ninja -C build test
}

package() {
  cd $_pkgname
  DESTDIR=${pkgdir} ninja -C build install
}