aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp-tools/APKBUILD
blob: 2471dfbbbd7834973cf47c5ab3ab615683022203 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=yelp-tools
pkgver=3.32.2
pkgrel=0
pkgdesc="Collection of utilities to help create documentation"
url="https://wiki.gnome.org/Apps/Yelp/Tools"
arch="noarch"
license="GPL-2.0-or-later"
makedepends="autoconf-archive automake gawk yelp-xsl itstool libxml2-utils libxslt"
options="!check" # no tests
source="https://download.gnome.org/sources/yelp-tools/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	default_prepare
	autoreconf --force --install --verbose
}

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

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

sha512sums="c9383426b854ae46ff4587bef07955541de3026f845025f9e99ba095cce11ff307e23d00d07a2da8763bcb6f9f061fc610351170e2abd99b5669912463729a85  yelp-tools-3.32.2.tar.xz"