diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 11:44:10 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 13:13:14 +0200 |
commit | f9e00b1a201a80dd46f66d570f3b90d0b2c78de1 (patch) | |
tree | a96dd4c7ac15352b38d8362ab7610819d2692794 /testing/mkdocs | |
parent | 3b9d98d9f70d88a2b04bd6f47a9083f472ae310c (diff) | |
download | aports-f9e00b1a201a80dd46f66d570f3b90d0b2c78de1.tar.bz2 aports-f9e00b1a201a80dd46f66d570f3b90d0b2c78de1.tar.xz |
testing/mkdocs: new aport
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" |