aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-d-mode
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-07 06:13:16 +0200
committerMattias Andrée <maandree@kth.se>2016-07-07 06:13:16 +0200
commitc8c6d98cb20089dd521655326321bef175ca39eb (patch)
tree36b4681ed19db8a80ed44ab4fc00a818fbf9e7ca /emacs-d-mode
parentUpdate dooble (diff)
downloadaur-packages-c8c6d98cb20089dd521655326321bef175ca39eb.tar.gz
aur-packages-c8c6d98cb20089dd521655326321bef175ca39eb.tar.bz2
aur-packages-c8c6d98cb20089dd521655326321bef175ca39eb.tar.xz
update emacs-d-mode
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'emacs-d-mode')
-rw-r--r--emacs-d-mode/PKGBUILD19
1 files 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 <gour@atmarama.net>
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"
}