diff options
author | haawda | 2018-08-25 11:47:43 +0200 |
---|---|---|
committer | haawda | 2018-08-25 11:47:43 +0200 |
commit | 9a66810c93e06df41ebcb61131bb80e5f3ba1523 (patch) | |
tree | ec90bf6e26721abaca3b70f3b5fbb591d0674fcb /PKGBUILD | |
parent | ab71e25529cfaa926ba24aeff5dbf584d395d609 (diff) | |
download | aur-emacs-auto-complete.tar.gz |
adopt and fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,8 +1,9 @@ -# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com> +# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=emacs-auto-complete pkgver=1.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="A auto-complete declaration for simplifying your .emacs" url="https://github.com/auto-complete/auto-complete" arch=('any') @@ -10,17 +11,17 @@ license=('GPL3') depends=('emacs' 'emacs-popup-el' 'emacs-fuzzy') makedepends=('git') provides=('emacs-auto-complete') -source=("https://github.com/auto-complete/auto-complete/archive/v${pkgver}.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/auto-complete/auto-complete/archive/v${pkgver}.tar.gz") sha256sums=('1bfb4351c3e49681a875dab937c25b6b38e4bf8a8cd64bcba1954300242578cb') install=${pkgname}.install build() { - cd "${srcdir}/auto-complete-${pkgver}" + cd auto-complete-${pkgver} emacs -q --no-splash -batch -L . -f batch-byte-compile *.el } package() { - cd "${srcdir}/auto-complete-${pkgver}" - install -d "${pkgdir}/usr/share/emacs/site-lisp/auto-complete" - install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/auto-complete/" + cd auto-complete-${pkgver} + install -d "$pkgdir"/usr/share/emacs/site-lisp/auto-complete + install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/auto-complete/ } |