PKGBUILDs/community/python-setuptools-markdown/PKGBUILD

31 lines
890 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.4.1
_commit=34ed6276e0c8bcefcd967bd8db138546a270bdf4
pkgrel=3
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=('394bf37e53bcdb702f44749eb5bfa156aa11df310e603a034af38d8ca47d8f5231b76eacec6049cf3c7615031eca7b4238670555fcf9835723beb6f3b7f9496c')
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"
}