diff options
author | Daniel Moch | 2018-09-08 06:47:22 -0400 |
---|---|---|
committer | Daniel Moch | 2018-09-08 06:47:22 -0400 |
commit | 5b559ad7a019168653b55d6b976edb297c87a891 (patch) | |
tree | 68d34642085c84793c1496957ba47bc7d208a033 /PKGBUILD | |
parent | 199aee557f6a6c3c087b63527d7c08ec44bf5c9f (diff) | |
download | aur-5b559ad7a019168653b55d6b976edb297c87a891.tar.gz |
upgpkg: nncli-git v0.3.0.r3.g4bc50a2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Daniel Moch <daniel@danielmoch.com> _name=nncli pkgname=nncli-git -pkgver=v0.2.0.r8.gccbf6c7 +pkgver=v0.3.0.r3.g4bc50a2 pkgrel=1 pkgdesc="NextCloud Notes Command Line Interface" arch=('any') @@ -9,7 +9,11 @@ url="https://github.com/djmoch/${_name}" provides=('nncli') conflicts=('nncli') license=('MIT') -depends=('python' 'python-urwid' 'python-requests' 'python-appdirs') +depends=('python' + 'python-urwid' + 'python-requests' + 'python-appdirs' + 'python-click') makedepends=('flit' 'git' 'python-pip' 'sed' 'grep' 'python-sphinx' 'gzip') source=("git+${url}.git") sha256sums=('SKIP') @@ -32,7 +36,7 @@ build() package() { cd "${srcdir}/${_name}" - _ver=$(echo ${pkgver} | grep -Eo '[0-9]+\.[0-9]+\.[0-9]') + _ver=$(cat ${_name}/__init__.py | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+(\.dev[0-9]+)?') install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 docs/build/man/nncli.1.gz "${pkgdir}/usr/share/man/man1/nncli.1.gz" pip install -I --no-warn-script-location --isolated --no-deps --compile --root="${pkgdir}" dist/${_name}-${_ver}-py3-none-any.whl |