aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp-tools/APKBUILD
blob: fac80a25516a5f48a4ec978f8e746913eb47332b (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=yelp-tools
pkgver=3.32.0
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="gawk yelp-xsl itstool libxml2-utils libxslt"
source="https://download.gnome.org/sources/yelp-tools/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

sha512sums="1f993f99451370f4cab65ed35458b70606c1a68c85f128dee5c765815355b4c0a5602c57c4d6c7b03397cd2a51c49ebe29dae0b86a13b3e9b0a30c8e4a422fe6  yelp-tools-3.32.0.tar.xz"