summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 18 insertions, 27 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 80d31997773..264d693d805 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,32 @@
-# Maintainer: Yosef Or Boczko <yoseforb@gnome.org>
-
+pkgname=devhelp-git
_pkgname=devhelp
-pkgname=$_pkgname-git
-pkgver=3.16.1.29.g321170c
+pkgver=3.38.0+4+g5eb0b92c
pkgrel=1
-_realver=3.16.2
pkgdesc="API documentation browser for GNOME"
-arch=(i686 x86_64)
-license=('GPL')
+arch=(x86_64)
+license=(GPL)
url="https://wiki.gnome.org/Apps/Devhelp"
-depends=('webkit2gtk' 'hicolor-icon-theme' "gtk3" "glib2")
-makedepends=('git' 'intltool' 'python' 'gnome-common')
-options=('!libtool' '!emptydirs')
-install=devhelp.install
-provides=("${_pkgname}=${_realver}")
-conflicts=("${_pkgname}")
-replace=("${_pkgname}")
-source=('git://git.gnome.org/devhelp')
-sha256sums=('SKIP')
+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 "$srcdir/$_pkgname"
- git describe --always | sed 's|-|.|g'
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
}
-prepare() {
- cd "$srcdir/$_pkgname"
+build() {
+ arch-meson $_pkgname build -D gtk_doc=true
+ meson compile -C build
}
-build() {
- cd "$srcdir/$_pkgname"
- ./autogen.sh --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
- make
+check() {
+ meson test -C build --print-errorlogs
}
package() {
- cd "$srcdir/$_pkgname"
- make DESTDIR="${pkgdir}" install
+ DESTDIR="$pkgdir" meson install -C build
}