initial commit (v0.7.1-1)
This commit is contained in:
commit
7b4a60d246
2 changed files with 44 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = python-mkdocs-autolinks-plugin
|
||||
pkgdesc = An MkDocs plugin that automagically generates relative links between markdown pages
|
||||
pkgver = 0.7.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/zachhannum/mkdocs-autolinks-plugin
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
depends = mkdocs
|
||||
source = https://files.pythonhosted.org/packages/source/m/mkdocs-autolinks-plugin/mkdocs-autolinks-plugin-0.7.1.tar.gz
|
||||
sha256sums = 445ddb9b417b7795856c30801bb430773186c1daf210bdeecf8305f55a47d151
|
||||
|
||||
pkgname = python-mkdocs-autolinks-plugin
|
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
||||
|
||||
|
||||
pkgname=python-mkdocs-autolinks-plugin
|
||||
_pkgname="${pkgname#python-}"
|
||||
_name=$_pkgname
|
||||
pkgver=0.7.1
|
||||
pkgrel=1
|
||||
pkgdesc="An MkDocs plugin that automagically generates relative links between markdown pages"
|
||||
depends=('python' 'mkdocs')
|
||||
makedepends=('python-setuptools')
|
||||
arch=('any')
|
||||
url="https://github.com/zachhannum/mkdocs-autolinks-plugin"
|
||||
license=('MIT')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
|
||||
sha256sums=('445ddb9b417b7795856c30801bb430773186c1daf210bdeecf8305f55a47d151')
|
||||
|
||||
build() {
|
||||
cd "$_name-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_name-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
# vim: sw=2:
|
Loading…
Reference in a new issue