diff options
Diffstat (limited to 'emacs-d-mode')
-rw-r--r-- | emacs-d-mode/PKGBUILD | 32 | ||||
-rw-r--r-- | emacs-d-mode/emacs-d-mode.install | 16 | ||||
l--------- | emacs-d-mode/upload | 1 | ||||
-rwxr-xr-x | emacs-d-mode/watch | 21 |
4 files changed, 0 insertions, 70 deletions
diff --git a/emacs-d-mode/PKGBUILD b/emacs-d-mode/PKGBUILD deleted file mode 100644 index 44dab27..0000000 --- a/emacs-d-mode/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> -# Contributor: Gianni Vialetto <gianni@rootcube.net> -# Contributor: Gour <gour@atmarama.net> - -pkgname=emacs-d-mode -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/archive/$pkgver.tar.gz) -sha256sums=('80ab7e82ebbb6afe4c7d9ab8e4feb597d2f84bd91739ac04120954594a7cd74e') - - -build() { - cd "$srcdir/Emacs-D-Mode-$pkgver" - - make compile -} - -package() { - cd "$srcdir/Emacs-D-Mode-$pkgver" - - install -m755 -d "$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" -} - diff --git a/emacs-d-mode/emacs-d-mode.install b/emacs-d-mode/emacs-d-mode.install deleted file mode 100644 index a7f8c2f..0000000 --- a/emacs-d-mode/emacs-d-mode.install +++ /dev/null @@ -1,16 +0,0 @@ -post_install() { - cat << EOF -==> To set up Emacs to automatically edit files ending in .d[i] using D-mode -==> add the following to your ~/.emacs file (GNU Emacs) or ~/.xemacs/init.el -==> file (XEmacs): - - (autoload 'd-mode "d-mode" "Major mode for editing D code." t) - (add-to-list 'auto-mode-alist '("\\\.d[i]?\\\'" . d-mode)) - -EOF -} - -post_upgrade() { - post_install $1 -} - diff --git a/emacs-d-mode/upload b/emacs-d-mode/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/emacs-d-mode/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/emacs-d-mode/watch b/emacs-d-mode/watch deleted file mode 100755 index 610a94f..0000000 --- a/emacs-d-mode/watch +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ -f release ] && rm release - -wget https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/tags -O - 2>/dev/null | grep tag-name | grep -Po '>.+</' > release - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - md5sum release > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'emacs-d-mode' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'emacs-d-mode (unfetchable)' -fi - |