aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yelp-tools/APKBUILD
blob: fdbc889066a336f3b859e93c1dec30e4e59d5d8a (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:
pkgname=yelp-tools
pkgver=3.14.1
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="c1e82214b07acf6e90e0cdb49e91e01f  yelp-tools-3.14.1.tar.xz"
sha256sums="000222baf5d2db394df6025591054976b5cecd0b27872601de7538f36520f60f  yelp-tools-3.14.1.tar.xz"
sha512sums="4fd55d62165fc999f3576730942631b9af9c25001daa385fcf45b8a138e852a824028bad3f9cedbcc13f8881ae71f3ec8f7d5be6d0ecf22e408d3b08c5b67798  yelp-tools-3.14.1.tar.xz"