aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-d-mode
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"
}