[arch-commits] Commit in emacs-haskell-mode/repos/community-any (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Jul 1 14:34:40 UTC 2013


    Date: Monday, July 1, 2013 @ 16:34:40
  Author: spupykin
Revision: 93315

archrelease: copy trunk to community-any

Added:
  emacs-haskell-mode/repos/community-any/PKGBUILD
    (from rev 93314, emacs-haskell-mode/trunk/PKGBUILD)
  emacs-haskell-mode/repos/community-any/emacs-haskell-mode.install
    (from rev 93314, emacs-haskell-mode/trunk/emacs-haskell-mode.install)
Deleted:
  emacs-haskell-mode/repos/community-any/PKGBUILD
  emacs-haskell-mode/repos/community-any/emacs-haskell-mode.install

----------------------------+
 PKGBUILD                   |   58 ++++++++++++++++++++++---------------------
 emacs-haskell-mode.install |   22 ++++++++--------
 2 files changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-01 14:34:15 UTC (rev 93314)
+++ PKGBUILD	2013-07-01 14:34:40 UTC (rev 93315)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Gleidson <gleidson.echeli at gmail.com>
-
-pkgname=emacs-haskell-mode
-pkgver=2.8.0
-pkgrel=4
-pkgdesc="Haskell mode package for Emacs"
-arch=(any)
-license=('GPL')
-url="http://projects.haskell.org/haskellmode-emacs/"
-#url="http://haskell.org/haskell-mode/"
-install=emacs-haskell-mode.install
-makedepends=('emacs')
-source=(http://projects.haskell.org/haskellmode-emacs/haskell-mode-$pkgver.tar.gz)
-md5sums=('64435a26bd070e56481b8d0ad826ac63')
-
-build() {
-  # remove unnecessary files
-  rm -f $srcdir/haskell-mode-$pkgver/ChangeLog
-  rm -f $srcdir/haskell-mode-$pkgver/Makefile
-  rm -f $srcdir/haskell-mode-$pkgver/NEWS
-  rm -f $srcdir/haskell-mode-$pkgver/README
-
-  install -d $pkgdir/usr/share/emacs/site-lisp/haskell-mode
-  install -m644 $srcdir/haskell-mode-$pkgver/* -t $pkgdir/usr/share/emacs/site-lisp/haskell-mode
-  emacs -batch --eval '(setq load-path (cons "." load-path))' -f batch-byte-compile $pkgdir/usr/share/emacs/site-lisp/haskell-mode/*.el
-}

Copied: emacs-haskell-mode/repos/community-any/PKGBUILD (from rev 93314, emacs-haskell-mode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-07-01 14:34:40 UTC (rev 93315)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gleidson <gleidson.echeli at gmail.com>
+
+pkgname=emacs-haskell-mode
+pkgver=13.07
+pkgrel=1
+pkgdesc="Haskell mode package for Emacs"
+arch=(any)
+license=('GPL')
+url="https://github.com/haskell/haskell-mode"
+install=emacs-haskell-mode.install
+makedepends=('emacs')
+source=($pkgname-$pkgver.tar.gz::https://github.com/haskell/haskell-mode/archive/v$pkgver.tar.gz)
+md5sums=('f583f605f607857d9f3858212a28f90d')
+
+build() {
+  cd $srcdir/haskell-mode-$pkgver
+  make
+}
+
+package() {
+  cd $srcdir/haskell-mode-$pkgver
+  install -dm0755 $pkgdir/usr/share/emacs/site-lisp/haskell-mode
+  install -dm0755 $pkgdir/usr/share/doc/$pkgname
+  install -m0644 *.el{,c} -t $pkgdir/usr/share/emacs/site-lisp/haskell-mode
+  install -m0644 NEWS README.md $pkgdir/usr/share/doc/$pkgname
+  install -Dm0644 haskell-mode.info $pkgdir/usr/share/info/haskell-mode.info
+  cp -a examples $pkgdir/usr/share/doc/$pkgname/
+}

Deleted: emacs-haskell-mode.install
===================================================================
--- emacs-haskell-mode.install	2013-07-01 14:34:15 UTC (rev 93314)
+++ emacs-haskell-mode.install	2013-07-01 14:34:40 UTC (rev 93315)
@@ -1,11 +0,0 @@
-post_install () {
-  echo ""
-  echo "==> Read the haskell-*.el files in /usr/share/emacs/site-lisp/haskell-mode"
-  echo "==> for information about how to configure your ~/.emacs"
-  echo ""
-}
-
-post_upgrade () {
-  post_install $1
-}
-

Copied: emacs-haskell-mode/repos/community-any/emacs-haskell-mode.install (from rev 93314, emacs-haskell-mode/trunk/emacs-haskell-mode.install)
===================================================================
--- emacs-haskell-mode.install	                        (rev 0)
+++ emacs-haskell-mode.install	2013-07-01 14:34:40 UTC (rev 93315)
@@ -0,0 +1,11 @@
+post_install () {
+  echo ""
+  echo "==> Read the haskell-*.el files in /usr/share/emacs/site-lisp/haskell-mode"
+  echo "==> for information about how to configure your ~/.emacs"
+  echo ""
+}
+
+post_upgrade () {
+  post_install $1
+}
+




More information about the arch-commits mailing list