diff options
author | zugno | 2020-07-06 21:39:32 +0200 |
---|---|---|
committer | zugno | 2020-07-06 21:39:32 +0200 |
commit | 75082fc0e3a447526abd50b26c72d0cb10ce7f4c (patch) | |
tree | 2218334db3c329f81aadded775aae1f92848f63b /PKGBUILD | |
parent | 782c964cb7292f3cb52ead0a9c06500f664c46cc (diff) | |
download | aur-75082fc0e3a447526abd50b26c72d0cb10ce7f4c.tar.gz |
Removed .python-version generating build problems with pyenv installed
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -2,14 +2,14 @@ pkgname=stig-git pkgver=0.11.2a0.r0.7ab3df0c -pkgrel=1 +pkgrel=2 pkgdesc='TUI and CLI client for the Transmission daemon' url='https://github.com/rndusr/stig' depends=('python' 'python-urwid' 'python-urwidtrees' 'python-aiohttp' - 'python-pyxdg' 'python-blinker' 'python-natsort') + 'python-pyxdg' 'python-blinker' 'python-natsort') makedepends=('git' 'python-setuptools') optdepends=('python-pprofile: profiling' - 'python-setproctitle: prettifies the process name') + 'python-setproctitle: prettifies the process name') license=('GPL') arch=('any') provides=('stig') @@ -20,21 +20,22 @@ source=("git+https://github.com/rndusr/stig.git") sha256sums=('SKIP') pkgver() { - cd stig - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')" + cd stig + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')" } prepare(){ - cd stig - sed -i 's/urwidtrees>=1.0.3dev0/urwidtrees>=1.0.2/' setup.py + cd stig + sed -i 's/urwidtrees>=1.0.3dev0/urwidtrees>=1.0.2/' setup.py + rm .python-version } build() { - cd stig - python setup.py build + cd stig + python setup.py build } package() { - cd stig - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + cd stig + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |