aboutsummaryrefslogtreecommitdiffstats
path: root/community/devhelp/APKBUILD
blob: ff6aad1739496acb30258d5ca2582dd3708ead9d (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=devhelp
pkgver=3.34.0
pkgrel=0
pkgdesc="API documentation browser for GTK+ and GNOME"
url="https://wiki.gnome.org/Apps/Devhelp"
arch="all"
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="meson gobject-introspection-dev gsettings-desktop-schemas-dev
	webkit2gtk-dev amtk-dev glib-dev itstool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/devhelp/${pkgver%.*}/devhelp-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="34ed48ed323827b01f7d32e186da856c788ddfe37d6836082a81e6c8e4cd7bfc2265309cc3b298a0aea542b85e9261987d47a5a4396d865ec7e4cc13a9d05814  devhelp-3.34.0.tar.xz"