aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/mkdocs/APKBUILD
blob: 105c3e67f1222cfa6129133e6c815fd34f861768 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=mkdocs
pkgver=0.14.0
pkgrel=1
pkgdesc="Project documentation with Markdown"
url="http://www.mkdocs.org/"
arch="noarch"
license="BSD"
depends="python py-tornado py-yaml py-markdown py-livereload py-jinja2 py-click
	py-mkdocs-bootswatch py-mkdocs-bootstrap py-setuptools py-six"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="mkdocs-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs/archive/$pkgver.tar.gz"

_builddir="$srcdir"/mkdocs-$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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="de422d15a17a5f752df7a542d6b75aa3  mkdocs-0.14.0.tar.gz"
sha256sums="fd3e1623dcd7027dbac55f4d8c4f1c1b990e87588ee463999e717b5083556b73  mkdocs-0.14.0.tar.gz"
sha512sums="47c95f258362df8b124a9689a79a9927d26b1f7816b027fd14d193c79bb5340bdea8770c47566e00452edcdf801fe858569f4c76aa9d3f1799e6e7100bb916ff  mkdocs-0.14.0.tar.gz"