[arch-commits] Commit in emacs-php-mode/repos/community-any (4 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Jul 1 10:51:49 UTC 2014
Date: Tuesday, July 1, 2014 @ 12:51:49
Author: spupykin
Revision: 113979
archrelease: copy trunk to community-any
Added:
emacs-php-mode/repos/community-any/PKGBUILD
(from rev 113978, emacs-php-mode/trunk/PKGBUILD)
emacs-php-mode/repos/community-any/emacs-php-mode.install
(from rev 113978, emacs-php-mode/trunk/emacs-php-mode.install)
Deleted:
emacs-php-mode/repos/community-any/PKGBUILD
emacs-php-mode/repos/community-any/emacs-php-mode.install
------------------------+
PKGBUILD | 50 ++++++++++++++++++++++-------------------
emacs-php-mode.install | 56 +++++++++++++++++++++++------------------------
2 files changed, 55 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 10:51:41 UTC (rev 113978)
+++ PKGBUILD 2014-07-01 10:51:49 UTC (rev 113979)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Stefano Esposito <ragnarok at email.it>
-
-pkgname=emacs-php-mode
-pkgver=1.5.0
-pkgrel=4
-license=("GPL")
-pkgdesc="PHP mode for emacs"
-url="http://php-mode.sf.net"
-arch=('any')
-depends=('emacs')
-options=(docs zipman)
-install=emacs-php-mode.install
-source=("http://downloads.sourceforge.net/php-mode/php-mode-$pkgver.tar.gz")
-md5sums=('6ddad6d150c946846a65bcecfb2cc1a0')
-
-build() {
- cd $srcdir/php-mode-$pkgver
- make php-mode.info.gz
- install -D -m644 php-mode.el $pkgdir/usr/share/emacs/site-lisp/php-mode.el
- install -D -m644 php-mode.info.gz $pkgdir/usr/share/info/php-mode.info.gz
-}
Copied: emacs-php-mode/repos/community-any/PKGBUILD (from rev 113978, emacs-php-mode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-01 10:51:49 UTC (rev 113979)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Esposito <ragnarok at email.it>
+
+pkgname=emacs-php-mode
+pkgver=1.5.0
+pkgrel=5
+license=("GPL")
+pkgdesc="PHP mode for emacs"
+url="http://php-mode.sf.net"
+arch=('any')
+depends=('emacs')
+options=(docs zipman)
+install=emacs-php-mode.install
+source=("http://downloads.sourceforge.net/php-mode/php-mode-$pkgver.tar.gz")
+md5sums=('6ddad6d150c946846a65bcecfb2cc1a0')
+
+build() {
+ cd $srcdir/php-mode-$pkgver
+ make php-mode.info.gz
+}
+
+package() {
+ cd $srcdir/php-mode-$pkgver
+ install -D -m644 php-mode.el $pkgdir/usr/share/emacs/site-lisp/php-mode.el
+ install -D -m644 php-mode.info.gz $pkgdir/usr/share/info/php-mode.info.gz
+}
Deleted: emacs-php-mode.install
===================================================================
--- emacs-php-mode.install 2014-07-01 10:51:41 UTC (rev 113978)
+++ emacs-php-mode.install 2014-07-01 10:51:49 UTC (rev 113979)
@@ -1,28 +0,0 @@
-infodir=usr/share/info
-filelist=(php-mode.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
-==> Put this in your $HOME/.emacs file to enable php-mode autoloading
-==> and autorecognition of "*.php" files:
-
-(autoload 'php-mode "php-mode.el" "Php mode." t)
-(setq auto-mode-alist (append '(("/*.\.php[345]?$" . php-mode)) auto-mode-alist))
-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
-}
Copied: emacs-php-mode/repos/community-any/emacs-php-mode.install (from rev 113978, emacs-php-mode/trunk/emacs-php-mode.install)
===================================================================
--- emacs-php-mode.install (rev 0)
+++ emacs-php-mode.install 2014-07-01 10:51:49 UTC (rev 113979)
@@ -0,0 +1,28 @@
+infodir=usr/share/info
+filelist=(php-mode.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
+==> Put this in your $HOME/.emacs file to enable php-mode autoloading
+==> and autorecognition of "*.php" files:
+
+(autoload 'php-mode "php-mode.el" "Php mode." t)
+(setq auto-mode-alist (append '(("/*.\.php[345]?$" . php-mode)) auto-mode-alist))
+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