From c8c6d98cb20089dd521655326321bef175ca39eb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Jul 2016 06:13:16 +0200 Subject: update emacs-d-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- emacs-d-mode/PKGBUILD | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/emacs-d-mode/PKGBUILD b/emacs-d-mode/PKGBUILD index ef09564..44dab27 100644 --- a/emacs-d-mode/PKGBUILD +++ b/emacs-d-mode/PKGBUILD @@ -3,21 +3,30 @@ # Contributor: Gour pkgname=emacs-d-mode -pkgver=2.0.6 +pkgver=2.0.8 pkgrel=1 pkgdesc="Emacs major mode for the D programming language" url="http://www.wikiservice.at/d/wiki.cgi?EditorSupport/EmacsEditor" arch=('any') license=('GPL2') depends=() +makedepends=(emacs) install=$pkgname.install -source=(https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/tarball/2.0.6) -sha256sums=('e15b325be67dd2c515ca79113d808f9d84f4e65db02167d0423d14d17c8c7109') +source=(https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/$pkgver.tar.gz) +sha256sums=('80ab7e82ebbb6afe4c7d9ab8e4feb597d2f84bd91739ac04120954594a7cd74e') + + +build() { + cd "$srcdir/Emacs-D-Mode-$pkgver" + + make compile +} package() { - cd "$srcdir/" + cd "$srcdir/Emacs-D-Mode-$pkgver" install -m755 -d "$pkgdir/usr/share/emacs/site-lisp" - install -m644 Emacs-D-Mode-Maintainers-Emacs-D-Mode-*/d-mode.el "$pkgdir/usr/share/emacs/site-lisp" + install -m644 d-mode.el "$pkgdir/usr/share/emacs/site-lisp" + install -m644 d-mode.elc "$pkgdir/usr/share/emacs/site-lisp" } -- cgit v1.2.3-70-g09d2