diff options
Diffstat (limited to 'unmaintained/py-mkdocs-bootstrap/APKBUILD')
-rw-r--r-- | unmaintained/py-mkdocs-bootstrap/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/py-mkdocs-bootstrap/APKBUILD b/unmaintained/py-mkdocs-bootstrap/APKBUILD new file mode 100644 index 0000000000..690d75a786 --- /dev/null +++ b/unmaintained/py-mkdocs-bootstrap/APKBUILD @@ -0,0 +1,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" |