aboutsummaryrefslogtreecommitdiffstats
path: root/main/yelp-tools/APKBUILD
blob: e99975eab2bac7c42cf3de8428ba44f58b49f8f3 (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.16.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="2430db2d69241d217fe0af5c1458aa30  yelp-tools-3.16.1.tar.xz"
sha256sums="b4f66c145af1c6448dc51037d305d6844da13dc31d07729b8e29005ee4fef89c  yelp-tools-3.16.1.tar.xz"
sha512sums="5fbb2b5b907bdffc7ccf0a108a80c7fe1e5486be6774b3d799f10e3444e286fcf8055629fe7df22ae8ef5784e52133df1b8dca6ee13fa3c2191080e14546d956  yelp-tools-3.16.1.tar.xz"