diff options
author | Caleb Maclennan | 2019-12-02 12:00:27 +0300 |
---|---|---|
committer | Caleb Maclennan | 2019-12-02 12:09:46 +0300 |
commit | eefd7b1725b909d38228b3fe7b062bf733e65f2b (patch) | |
tree | ada695c53a6a4dd7eb79d3160c761419c9287cac /PKGBUILD | |
parent | 328a83f63028919414a07a9dd22ee78d1177845d (diff) | |
download | aur-eefd7b1725b909d38228b3fe7b062bf733e65f2b.tar.gz |
Include symlinks to python binaries
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,7 +5,7 @@ _pipname=pantable pkgname=python-$_pipname pkgver=0.12.2 -pkgrel=1 +pkgrel=2 pkgdesc="CSV Tables in Markdown: Pandoc Filter for CSV Tables" arch=(any) url="https://github.com/ickc/$_pipname" @@ -26,4 +26,7 @@ package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") mkdir -p "$pkgdir/$sitepackages" cp -r "$srcdir/$_pipname"/* "$pkgdir/$sitepackages" + install -d "$pkgdir/usr/bin" + ln -s {$(python -c "import site; print(site.getsitepackages()[0]+'/bin')"),$pkgdir/usr/bin}/pantable + ln -s {$(python -c "import site; print(site.getsitepackages()[0]+'/bin')"),$pkgdir/usr/bin}/pantable2csv } |