summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2016-07-07 06:13:28 +0200
committerMattias Andrée2016-07-07 06:13:28 +0200
commitd64e4a298b683568106e88285009173a10daed9c (patch)
treeb9b03c73cfa495179531542dd39cc6e0e7d706b3
parent0b38741783cdfa016fe33705122547d662d858b8 (diff)
downloadaur-d64e4a298b683568106e88285009173a10daed9c.tar.gz
Update to 2.0.8
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD19
2 files changed, 20 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e147b298ed2..8549b103391 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Jul 7 04:13:28 UTC 2016
pkgbase = emacs-d-mode
pkgdesc = Emacs major mode for the D programming language
- pkgver = 2.0.6
+ pkgver = 2.0.8
pkgrel = 1
url = http://www.wikiservice.at/d/wiki.cgi?EditorSupport/EmacsEditor
install = emacs-d-mode.install
arch = any
license = GPL2
- source = https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/tarball/2.0.6
- sha256sums = e15b325be67dd2c515ca79113d808f9d84f4e65db02167d0423d14d17c8c7109
+ makedepends = emacs
+ source = https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/2.0.8.tar.gz
+ sha256sums = 80ab7e82ebbb6afe4c7d9ab8e4feb597d2f84bd91739ac04120954594a7cd74e
pkgname = emacs-d-mode
diff --git a/PKGBUILD b/PKGBUILD
index ef0956422e4..44dab27b6d5 100644
--- a/PKGBUILD
+++ b/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"
}