[arch-commits] Commit in emacs-haskell-mode/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Tue May 17 15:44:28 UTC 2016
Date: Tuesday, May 17, 2016 @ 17:44:28
Author: spupykin
Revision: 175542
archrelease: copy trunk to community-any
Added:
emacs-haskell-mode/repos/community-any/PKGBUILD
(from rev 175541, emacs-haskell-mode/trunk/PKGBUILD)
emacs-haskell-mode/repos/community-any/emacs-haskell-mode.install
(from rev 175541, 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 | 69 ++++++++++++++++++++++++-------------------
emacs-haskell-mode.install | 22 ++++++-------
2 files changed, 50 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-17 15:44:19 UTC (rev 175541)
+++ PKGBUILD 2016-05-17 15:44:28 UTC (rev 175542)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Gleidson <gleidson.echeli at gmail.com>
-
-pkgname=emacs-haskell-mode
-pkgver=13.16
-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=('6f3a08cb9907578a807b49c8cb4bbd49')
-
-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/
-}
Copied: emacs-haskell-mode/repos/community-any/PKGBUILD (from rev 175541, emacs-haskell-mode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-17 15:44:28 UTC (rev 175542)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gleidson <gleidson.echeli at gmail.com>
+
+pkgname=emacs-haskell-mode
+pkgver=13.20
+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=('28dc2e6fb1dad0f488ceec80896f0088')
+
+prepare() {
+ cd $srcdir/haskell-mode-$pkgver
+ sed -i 's|haskell-mode-pkg.el,|haskell-mode-pkg.el haskell-mode.el,|' Makefile
+}
+
+build() {
+ cd $srcdir/haskell-mode-$pkgver
+ export EMACS=/usr/bin/emacs
+ make
+}
+
+package() {
+ cd $srcdir/haskell-mode-$pkgver
+
+ install -dm0755 $pkgdir/usr/share/emacs/site-lisp/haskell-mode
+ install -m0644 *.el -t $pkgdir/usr/share/emacs/site-lisp/haskell-mode
+ cp -a build-$(emacs --version | head -n1 | cut -f3 -d' ') -t $pkgdir/usr/share/emacs/site-lisp/haskell-mode/
+
+ install -dm0755 $pkgdir/usr/share/doc/$pkgname
+ install -m0644 NEWS README.md $pkgdir/usr/share/doc/$pkgname
+
+ install -Dm0644 haskell-mode.info $pkgdir/usr/share/info/haskell-mode.info
+}
Deleted: emacs-haskell-mode.install
===================================================================
--- emacs-haskell-mode.install 2016-05-17 15:44:19 UTC (rev 175541)
+++ emacs-haskell-mode.install 2016-05-17 15:44:28 UTC (rev 175542)
@@ -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 175541, emacs-haskell-mode/trunk/emacs-haskell-mode.install)
===================================================================
--- emacs-haskell-mode.install (rev 0)
+++ emacs-haskell-mode.install 2016-05-17 15:44:28 UTC (rev 175542)
@@ -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