aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-mkdocs-bootstrap/APKBUILD
blob: 690d75a786b336dfd9a577b58af84c64499fa33a (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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-mkdocs-bootstrap
pkgver=0.1.1
pkgrel=0
pkgdesc="MkDocs Bootstrap Theme"
url="https://github.com/mkdocs/mkdocs-bootstrap"
arch="noarch"
license="BSD"
depends="mkdocs"
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="mkdocs-bootstrap-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootstrap/archive/$pkgver.tar.gz"

_builddir="$srcdir"/mkdocs-bootstrap-$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="f0f0fc57fdf2a93ab764013ebc38c638  mkdocs-bootstrap-0.1.1.tar.gz"
sha256sums="215fd357e51f9505e5f5ac45e3c0bb15ed431c3c24abf8f1f3afff66fd51f842  mkdocs-bootstrap-0.1.1.tar.gz"
sha512sums="c3f91ea22f0393f4ffcb5158ae5401e74abe6f937cc964c605e1ba40ecf0b17a27841558c49d9a79f302fdc8198fff5b8c5d278374ab0c59646b243488cbf719  mkdocs-bootstrap-0.1.1.tar.gz"