summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
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/