aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp-tools/APKBUILD
blob: 903ecea12b39338400d4a987a63d9df24f454969 (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.37.90
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%.*}/yelp-tools-$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="950a1084559695e4405c8ceb10aa925a8386c1f99ffd4f9a307f5b0148fe34a14e4369d54eb97c1e2ffbd074590ff0671968650be7705f67c2052bf4d29a3d6b  yelp-tools-3.37.90.tar.xz"