summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-11-17 10:49:44 +0100
committerhaawda2018-11-17 10:49:44 +0100
commit0cc06e9f9cff437f50b22f977d8f2ec761a02daa (patch)
tree071794d40a1b24acfeaabe43488e0114055c7939
parent9b138982b2705549bfc8f42e00337e0592ef2af2 (diff)
downloadaur-emacs-jedi.tar.gz
download release instead of master.zip
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd74d3f09e1..2a7143a3d97 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = emacs-jedi
pkgdesc = Python auto-completion for Emacs
pkgver = 0.2.7
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/tkf/emacs-jedi
arch = any
license = GPL3
@@ -13,8 +13,8 @@ pkgbase = emacs-jedi
depends = emacs-python-environment
depends = python-virtualenv
provides = emacs-jedi
- source = emacs-jedi-0.2.7.zip::https://github.com/tkf/emacs-jedi/archive/master.zip
- sha256sums = 4adff270a37ee3a1757d0b7947d904bd2f88118db571f608c571363afe8315dc
+ source = emacs-jedi-0.2.7.tar.gz::https://github.com/tkf/emacs-jedi/archive/v0.2.7.tar.gz
+ sha256sums = adb41035a57bf8edf0d1a2fc309e0c7577e1f797a6e325ae68c1ec6d316c4d9b
pkgname = emacs-jedi
diff --git a/PKGBUILD b/PKGBUILD
index aa087355eb4..5719c50f65d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=emacs-jedi
pkgver=0.2.7
-pkgrel=4
+pkgrel=5
pkgdesc="Python auto-completion for Emacs"
url="https://github.com/tkf/emacs-jedi"
arch=('any')
@@ -11,16 +11,16 @@ license=('GPL3')
depends=('emacs' 'python-jedi' 'emacs-auto-complete' 'emacs-epc' 'emacs-python-environment' 'python-virtualenv')
makedepends=('git')
provides=('emacs-jedi')
-source=("$pkgname-$pkgver.zip::https://github.com/tkf/emacs-jedi/archive/master.zip")
-sha256sums=('4adff270a37ee3a1757d0b7947d904bd2f88118db571f608c571363afe8315dc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tkf/emacs-jedi/archive/v$pkgver.tar.gz")
+sha256sums=('adb41035a57bf8edf0d1a2fc309e0c7577e1f797a6e325ae68c1ec6d316c4d9b')
build() {
- cd emacs-jedi-master
+ cd emacs-jedi-$pkgver
emacs -q --no-splash -batch -L . -f batch-byte-compile jedi*.el
}
package() {
- cd emacs-jedi-master
+ cd emacs-jedi-$pkgver
install -d "$pkgdir"/usr/share/emacs/site-lisp/jedi
install -m644 jedi*.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/jedi/
install -m755 jedi*.py "$pkgdir"/usr/share/emacs/site-lisp/jedi/