aboutsummaryrefslogtreecommitdiffstats
path: root/testing/heirloom-doctools/APKBUILD
blob: 18a3fa44db3fe94e15687f9318708771deba6f43 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=heirloom-doctools
pkgver=160217
pkgrel=0
pkgdesc="The Heirloom Documentation Tools"
url="http://n-t-roff.github.io/heirloom/doctools.html"
arch="all"
license="CDDL"
depends=""
depends_dev=""
makedepends="flex bison"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/n-t-roff/${pkgname}/archive/${pkgver}.tar.gz
	mk.config"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	# Copy our configuration file to the build directory.
	cp -f "$srcdir"/mk.config "$_builddir"/ || return 1
}

build() {
	# Unfortunately parallel build isn't supported.
	make -j1 -C "$_builddir" || return 1
}

package() {
	# Unfortunately parallel install isn't supported.
	make -j1 ROOT="$pkgdir" \
		-C "$_builddir" install || return 1
}

md5sums="0ece3bd6be8601cb64bc4aec7833b4ad  heirloom-doctools-160217.tar.gz
a9c5f8bc84e6d42a7c3e6264889cddf3  mk.config"
sha256sums="56b6a82941b42c45f0a4282b7647a172b304c351950cd7168bb5acb675fdb24a  heirloom-doctools-160217.tar.gz
1442e3e1392dcdef475a660a995937fd2322646f56bf32267b89240eb4124b6b  mk.config"
sha512sums="f18d05b4ca2480ef374e4e2fbe3924f109959763f1c45b410fde991c20be49aee38b8ea37d0811f7f761d818e8ea6aec2c4c7495a95c3cf0d553d1e1bc4aa2f1  heirloom-doctools-160217.tar.gz
34ba8463be83fb4dd0dde0215ddb82c12e68a7ee5cfbe5c68783f72203c066b10145787960b904f5b07b4219f62240129fb9004bdbc971d4a4c54705c85d3d4c  mk.config"