mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
44 lines
1.1 KiB
Bash
44 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
|
|
# - removed depends on those in the packages
|
|
|
|
pkgbase=python-setuptools-markdown
|
|
pkgname=(python-setuptools-markdown python2-setuptools-markdown)
|
|
pkgver=0.2
|
|
pkgrel=2.1
|
|
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')
|
|
|
|
cd "${srcdir}/setuptools-markdown"
|
|
python setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
package_python2-setuptools-markdown() {
|
|
depends=('python2-setuptools')
|
|
|
|
cd "${srcdir}/setuptools-markdown-py2"
|
|
python2 setup.py install --root "$pkgdir"
|
|
}
|