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

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Jul 26 15:35:20 UTC 2013


    Date: Friday, July 26, 2013 @ 17:35:19
  Author: spupykin
Revision: 94542

archrelease: copy trunk to community-any

Added:
  emacs-muse/repos/community-any/PKGBUILD
    (from rev 94541, emacs-muse/trunk/PKGBUILD)
  emacs-muse/repos/community-any/emacs-muse.install
    (from rev 94541, emacs-muse/trunk/emacs-muse.install)
Deleted:
  emacs-muse/repos/community-any/PKGBUILD
  emacs-muse/repos/community-any/emacs-muse.install

--------------------+
 PKGBUILD           |   61 ++++++++++++++++++++++++++++-----------------------
 emacs-muse.install |   50 ++++++++++++++++++++++++++---------------
 2 files changed, 66 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-26 15:35:07 UTC (rev 94541)
+++ PKGBUILD	2013-07-26 15:35:19 UTC (rev 94542)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor:  Gour <gour at mail.inet.hr>
-
-pkgname=emacs-muse
-pkgver=3.20
-pkgrel=3
-pkgdesc="Publishing environment for Emacs"
-url="http://mwolson.org/projects/EmacsMuse.html"
-arch=('any')
-license=('GPL3')
-depends=('emacs' )
-install=${pkgname}.install
-source=(http://download.gna.org/muse-el/muse-$pkgver.tar.gz)
-md5sums=('aa43de43f4437e7979ffbb708180b2e9')
-
-build() {
-  cd $srcdir/muse-$pkgver
-
-  # python2 fix
-  sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' experimental/muse-mathml.el
-
-  cp Makefile.defs.default Makefile.defs
-  sed -i -e "s|\(PREFIX.*= \)/usr/local|\1/usr|" Makefile.defs
-  make
-  make DESTDIR=$pkgdir install
-}

Copied: emacs-muse/repos/community-any/PKGBUILD (from rev 94541, emacs-muse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-07-26 15:35:19 UTC (rev 94542)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor:  Gour <gour at mail.inet.hr>
+
+pkgname=emacs-muse
+_pkgname=muse
+pkgver=3.20
+pkgrel=4
+pkgdesc="Publishing environment for Emacs"
+url="http://mwolson.org/projects/EmacsMuse.html"
+arch=('any')
+license=('GPL3')
+depends=('emacs' )
+install=${pkgname}.install
+source=(http://download.gna.org/muse-el/muse-$pkgver.tar.gz)
+md5sums=('aa43de43f4437e7979ffbb708180b2e9')
+
+prepare() {
+  cd $srcdir/muse-$pkgver
+  # python2 fix
+  sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' experimental/muse-mathml.el
+  cp Makefile.defs.default Makefile.defs
+  sed -i -e "s|\(PREFIX.*= \)/usr/local|\1/usr|" Makefile.defs
+}
+
+build() {
+  cd $srcdir/muse-$pkgver
+  make
+}
+
+package() {
+  cd $srcdir/muse-$pkgver
+  make DESTDIR=$pkgdir install
+}

Deleted: emacs-muse.install
===================================================================
--- emacs-muse.install	2013-07-26 15:35:07 UTC (rev 94541)
+++ emacs-muse.install	2013-07-26 15:35:19 UTC (rev 94542)
@@ -1,18 +0,0 @@
-post_install() {
-cat << EOF
-==> In order to use Muse,  add the following lines to your ~/.emacs file
-==> depending on the styles you wish to use (see manual for more details):
-
-(require 'muse-mode)     ; load authoring mode
-     
-(require 'muse-html)     ; load publishing styles I use
-(require 'muse-latex)
-(require 'muse-context)
-    
-(require 'muse-project)  ; publish files in projects
-EOF
-}
-
-post_upgrade() {
-  post_install $1
-}

Copied: emacs-muse/repos/community-any/emacs-muse.install (from rev 94541, emacs-muse/trunk/emacs-muse.install)
===================================================================
--- emacs-muse.install	                        (rev 0)
+++ emacs-muse.install	2013-07-26 15:35:19 UTC (rev 94542)
@@ -0,0 +1,32 @@
+infodir=usr/share/info
+filelist=(muse.info)
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+  done
+cat << EOF
+==> In order to use Muse,  add the following lines to your ~/.emacs file
+==> depending on the styles you wish to use (see manual for more details):
+
+(require 'muse-mode)     ; load authoring mode
+     
+(require 'muse-html)     ; load publishing styles I use
+(require 'muse-latex)
+(require 'muse-context)
+    
+(require 'muse-project)  ; publish files in projects
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+  done
+}




More information about the arch-commits mailing list