summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 264d693d8057583786bd73a848de2a40f229d010 (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
pkgname=devhelp-git
_pkgname=devhelp
pkgver=3.38.0+4+g5eb0b92c
pkgrel=1
pkgdesc="API documentation browser for GNOME"
arch=(x86_64)
license=(GPL)
url="https://wiki.gnome.org/Apps/Devhelp"
depends=('webkit2gtk' 'amtk')
makedepends=('gtk-doc' 'git' 'appstream-glib' 'gobject-introspection' 'meson' 'yelp-tools')
provides=('devhelp')
conflicts=('devhelp')
source=("git+https://gitlab.gnome.org/GNOME/devhelp.git")
sha512sums=('SKIP')

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

build() {
  arch-meson $_pkgname build -D gtk_doc=true
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}