aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp/APKBUILD
blob: bd6300b046ad3934889d24faf15e3d6cf5c0683f (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=yelp
pkgver=3.34.0
pkgrel=0
pkgdesc="Help browser for GNOME desktop"
url="https://wiki.gnome.org/Apps/Yelp"
arch="all"
license="GPL-2.0-or-later"
depends="dconf desktop-file-utils hicolor-icon-theme yelp-xsl"
makedepends="glib-dev itstool bzip2-dev gtk+3.0-dev libgcrypt-dev xz-dev
	libxml2-dev libxslt-dev sqlite-dev webkit2gtk-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/yelp/${pkgver%.*}/yelp-$pkgver.tar.xz"

prepare() {
	default_prepare
	sed 's|/usr/bin/sh|/bin/sh|' \
		-i build-aux/compile \
		-i build-aux/missing \
		-i build-aux/install-sh \
		-i build-aux/depcomp \
		-i build-aux/config.sub \
		-i build-aux/config.guess
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="799a55df98bf176ee19e9b48ef321734b5df9d8c83bdb5c8c910b3def214039c8730a079d032b88dcc886c70418abb968c85c5c998b8ac340fc5ce27e6228eaf  yelp-3.34.0.tar.xz"