aboutsummaryrefslogblamecommitdiffstats
path: root/testing/yelp/APKBUILD
blob: 8afae00d6fb202cd266baf16109a7b997d13a4c1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                               
             






                                                                        
                                                          
                                                                     
                                                                                   
 










                                         


















                                         
                                                                                                                                                                 
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=yelp
pkgver=3.32.2
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="be0e2a7919ba8aef8eeb13e4d195e745afcd113350b32bad5ccf204f544107bebcadee364508402ad7906dd5484b9f21288ae13edcaab47a02b54e31f3379cfd  yelp-3.32.2.tar.xz"