diff options
Diffstat (limited to 'testing/mkdocs')
-rw-r--r-- | testing/mkdocs/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/mkdocs/APKBUILD b/testing/mkdocs/APKBUILD new file mode 100644 index 0000000000..334e341b61 --- /dev/null +++ b/testing/mkdocs/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=mkdocs +pkgver=0.14.0 +pkgrel=0 +pkgdesc="Project documentation with Markdown" +url="http://www.mkdocs.org/" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="$depends_dev py-setuptools" +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" |