PKGBUILDs/community/python-setuptools-markdown/PKGBUILD

31 lines
888 B
Bash
Raw Normal View History

# Maintainer: Felix Yan <felixonmars@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed dependency on python-pypandoc
pkgname=python-setuptools-markdown
pkgver=0.2
_commit=48c3977bf3404141fec78e2d1f8658bfbcf82f53
pkgrel=4
pkgdesc="Use Markdown for your project description"
arch=('any')
url="https://github.com/msabramo/setuptools-markdown"
license=('MIT')
depends=('python-setuptools')
source=("$pkgname-$_commit.tar.gz::https://github.com/msabramo/setuptools-markdown/archive/$_commit.tar.gz")
sha512sums=('8e946ddcc488ef42179eb1da5bc3c155c3f307744074c0c0e2f6bcc9d131a6df8504c8c1e7e862fdeb3a89288c4c4ccbab1d49eb331ceb9599bb89e1a0904655')
prepare() {
mv setuptools-markdown-{$_commit,$pkgver}
}
build() {
cd setuptools-markdown-$pkgver
python setup.py build
}
package() {
cd setuptools-markdown-$pkgver
python setup.py install --root "$pkgdir"
}