diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -1,18 +1,28 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> # PKGBUILD generated by pipman # Python package author: DCsunset <DCsunset@protonmail.com> -pkgname=python-pandoc-include + +_pipname=pandoc-include +pkgname=python-$_pipname pkgver=0.3.2 pkgrel=1 pkgdesc="Panflute filter to allow file includes" arch=(any) -url="https://github.com/DCsunset/pandoc-include" +url="https://github.com/DCsunset/$_pipname" license=(MIT) makedepends=("python" "python-pip") +depends=("python-click" + "python-future" + "python-panflute" + "python-shutilwhich" + "python-yaml") + build() { - pip install --no-deps --target="pandoc-include" pandoc-include==0.3.2 + pip install --no-deps --target="$_pipname" $_pipname==$pkgver } + package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") mkdir -p $pkgdir/"$sitepackages" - cp -r $srcdir/pandoc-include/* $pkgdir/"$sitepackages" -}
\ No newline at end of file + cp -r "$srcdir/$_pipname"/* $pkgdir/"$sitepackages" +} |