summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be314905b6096b967d29c17f4a80c8e95cfe3916 (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
42
43
44
45
46
47
48
49
50
51
# Maintainer: Adria Arrufat <adria DOT arrufat+aur AT protonmail DOT ch>

_pkgname=epiphany
pkgname=$_pkgname-git
pkgver=3.25.1+9+gc53ee0634
pkgrel=1
pkgdesc="A GNOME web browser based on the WebKit rendering engine."
url="http://www.gnome.org/projects/epiphany/"
arch=('i686' 'x86_64')
license=('GPL')
depends=(webkit2gtk gcr gnome-desktop)
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://git.gnome.org/epiphany"
	"git://git.gnome.org/gvdb"
)
sha256sums=('SKIP'
            'SKIP')

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

prepare() {
  cd $_pkgname
  git submodule init
  git config --local libgd.url "${srcdir}/libgd"
  git submodule update
}

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

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

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