aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-alabaster/APKBUILD
blob: 87dd3ec8137103372452ba7c871685f3060a9fe2 (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-alabaster
pkgver=0.7.6
pkgrel=0
pkgdesc="Modified Kr Sphinx doc theme"
url="https://github.com/bitprophet/alabaster"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
source="alabaster-$pkgver.tar.gz::https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz"

_builddir="$srcdir"/alabaster-$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="940d47184c4d67d9e1943ba2e5b15a65  alabaster-0.7.6.tar.gz"
sha256sums="5446f84c69fd327cfe2fa1644b4f6453710e67c6479e79e736f7bedb6e2bcb8e  alabaster-0.7.6.tar.gz"
sha512sums="8b07592930190428430ab6c3a73e6a159ea6b2073d11ffc5d2dd1052a38f06feed680527002785d2f056dd413d71218f1ecd5a6aba4294ce4047193e751af440  alabaster-0.7.6.tar.gz"