aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp-tools/APKBUILD
blob: 3dc17dee57be8648b2b2a37e4f2c13f470fd76a9 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=yelp-tools
pkgver=3.18.0
pkgrel=0
pkgdesc="Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation."
url="https://wiki.gnome.org/Apps/Yelp/Tools"
arch="noarch"
license="GPL/LGPL"
depends=""
depends_dev=""
makedepends="gawk yelp-xsl itstool libxml2-utils libxslt"
install=""
subpackages=""
source="https://download.gnome.org/sources/yelp-tools/${pkgver%.*}/yelp-tools-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="ceca436ff2ab3900dde718c0f0286f3f  yelp-tools-3.18.0.tar.xz"
sha256sums="c6c1d65f802397267cdc47aafd5398c4b60766e0a7ad2190426af6c0d0716932  yelp-tools-3.18.0.tar.xz"
sha512sums="75957b06bdade966a33a41ecc68dfa3eb3b3e3550dc8c6664ee694c4b043c8b45a2403dd23c9810347ed7234ceb5389a34133554de012a7e0afc5db891525fb8  yelp-tools-3.18.0.tar.xz"