summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-19 14:09:45 +0300
committerCaleb Maclennan2020-02-19 14:09:45 +0300
commitb929c02806769daac5e4e79671e68bcc6f708ccc (patch)
tree45e5a5c1e6e8b0694c542abc174173199e8f5403 /PKGBUILD
parentdfcb78bbfb50f97b6c9972cfee8de66b937d383e (diff)
downloadaur-b929c02806769daac5e4e79671e68bcc6f708ccc.tar.gz
Fix make dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f8cee59ef9c..a92d97027fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,27 +5,25 @@
_pipname=panflute
pkgname=python-$_pipname
pkgver=1.12.4
-pkgrel=2
+pkgrel=3
pkgdesc='A Pythonic alternative to John MacFarlane’s pandocfilters'
arch=('any')
url="https://github.com/sergiocorreia/$_pipname"
license=('BSD')
-makedepends=('python-pip')
-depends=('python'
- 'python-click'
- 'python-yaml'
- 'python-shutilwhich')
-provides=('pandoc-panflute')
-conflicts=('pandoc-panflute')
+_pydeps=('click'
+ 'shutilwhich'
+ 'yaml')
+depends=('python' "${_pydeps[@]/#/python-}")
+makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sergiocorreia/$_pipname/archive/$pkgver.tar.gz")
sha256sums=('92f9f712a54151b07af736b3b6ba1733c3602600c84b4407fdb714272ff92565')
build() {
- cd "$_name-$pkgver"
+ cd "$_pipname-$pkgver"
python setup.py build
}
package() {
- cd "$_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "$_pipname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}