summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Feletto2020-09-13 14:45:16 +0200
committerAndrea Feletto2020-09-13 14:45:16 +0200
commit28d521d0671640e3c0c25066e3f98c94648ba24c (patch)
tree458e66cef5456a0f45ff465ad3a28a5709da9ae7
parentce9e05eeed9ea319fcbede06e2bb1d6b9fbe377b (diff)
downloadaur-28d521d0671640e3c0c25066e3f98c94648ba24c.tar.gz
added pkgname to tarball filename
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b90a5e856ef..0fa0581d4aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python2-pynvim
pkgdesc = Python client for Neovim.
pkgver = 0.4.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/neovim/pynvim
arch = any
license = Apache
@@ -14,7 +14,7 @@ pkgbase = python2-pynvim
depends = python2-trollius
provides = python2-neovim
replaces = python2-neovim
- source = https://github.com/neovim/python-client/archive/0.4.1.tar.gz
+ source = python2-pynvim-0.4.1.tar.gz::https://github.com/neovim/python-client/archive/0.4.1.tar.gz
sha256sums = 132ea5c226399aed45a959f1d8efe8cdd89a769a672534722760a9a67b06dfa0
pkgname = python2-pynvim
diff --git a/PKGBUILD b/PKGBUILD
index 61bf3705502..9d45bcabe14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=python2-pynvim
_pkgname=${pkgname#*-}
pkgver=0.4.1
-pkgrel=2
+pkgrel=3
pkgdesc='Python client for Neovim.'
arch=('any')
url='https://github.com/neovim/pynvim'
@@ -18,24 +18,22 @@ makedepends=('python2-setuptools')
checkdepends=('python2-pytest' 'python2-pytest-runner')
provides=('python2-neovim')
replaces=('python2-neovim')
-source=("https://github.com/neovim/python-client/archive/${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/neovim/python-client/archive/$pkgver.tar.gz")
sha256sums=('132ea5c226399aed45a959f1d8efe8cdd89a769a672534722760a9a67b06dfa0')
build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py build
}
check() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py pytest
}
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --optimize=1 --prefix=/usr --root="$pkgdir" --skip-build
}
-# vim:set sw=2 sts=2 et:
-