summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Majewski2020-09-27 15:17:22 +0200
committerKevin Majewski2020-09-27 15:17:22 +0200
commit7477f687850b9abfdbd7f38b202ded30e6095bee (patch)
treedae3810d818b47e6311ce25143848975decd86bc
parentbd0910b4b490592105457121844f815bb2638421 (diff)
downloadaur-devhelp-git.tar.gz
Sync with arch repos
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD45
2 files changed, 28 insertions, 41 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a8035f1ad0..84d58e18fbd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,22 @@
pkgbase = devhelp-git
pkgdesc = API documentation browser for GNOME
- pkgver = 3.16.1.29.g321170c
+ pkgver = 3.38.0+4+g5eb0b92c
pkgrel = 1
url = https://wiki.gnome.org/Apps/Devhelp
- install = devhelp.install
- arch = i686
arch = x86_64
license = GPL
+ makedepends = gtk-doc
makedepends = git
- makedepends = intltool
- makedepends = python
- makedepends = gnome-common
+ makedepends = appstream-glib
+ makedepends = gobject-introspection
+ makedepends = meson
+ makedepends = yelp-tools
depends = webkit2gtk
- depends = hicolor-icon-theme
- depends = gtk3
- depends = glib2
- provides = devhelp=3.16.2
+ depends = amtk
+ provides = devhelp
conflicts = devhelp
- options = !libtool
- options = !emptydirs
- source = git://git.gnome.org/devhelp
- sha256sums = SKIP
+ source = git+https://gitlab.gnome.org/GNOME/devhelp.git
+ sha512sums = SKIP
pkgname = devhelp-git
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
}