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