mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - removed makedepends on python-pypandoc and python2-pypandoc
|
|
|
|
pkgbase=python-setuptools-markdown
|
|
pkgname=(python-setuptools-markdown python2-setuptools-markdown)
|
|
pkgver=0.2
|
|
pkgrel=2
|
|
pkgdesc="Use Markdown for your project description"
|
|
arch=('any')
|
|
url="https://github.com/msabramo/setuptools-markdown"
|
|
license=('MIT')
|
|
makedepends=('python-setuptools' 'python2-setuptools' 'git')
|
|
source=("git+https://github.com/msabramo/setuptools-markdown.git#commit=$_commit")
|
|
md5sums=('SKIP')
|
|
|
|
prepare() {
|
|
cp -a setuptools-markdown{,-py2}
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/setuptools-markdown"
|
|
python setup.py build
|
|
|
|
cd "${srcdir}/setuptools-markdown-py2"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package_python-setuptools-markdown() {
|
|
depends=('python-setuptools' 'python-pypandoc')
|
|
|
|
cd "${srcdir}/setuptools-markdown"
|
|
python setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
package_python2-setuptools-markdown() {
|
|
depends=('python2-setuptools' 'python2-pypandoc')
|
|
|
|
cd "${srcdir}/setuptools-markdown-py2"
|
|
python2 setup.py install --root "$pkgdir"
|
|
}
|