[arch-commits] Commit in emacs-php-mode/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Wed Aug 5 10:03:08 UTC 2015
Date: Wednesday, August 5, 2015 @ 12:03:08
Author: spupykin
Revision: 137969
archrelease: copy trunk to community-any
Added:
emacs-php-mode/repos/community-any/PKGBUILD
(from rev 137968, emacs-php-mode/trunk/PKGBUILD)
emacs-php-mode/repos/community-any/emacs-php-mode.install
(from rev 137968, 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 | 55 +++++++++++++++++++++++-----------------------
emacs-php-mode.install | 56 +++++++++++++++++++++++------------------------
2 files changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-05 10:03:00 UTC (rev 137968)
+++ PKGBUILD 2015-08-05 10:03:08 UTC (rev 137969)
@@ -1,27 +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=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
-}
Copied: emacs-php-mode/repos/community-any/PKGBUILD (from rev 137968, emacs-php-mode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-08-05 10:03:08 UTC (rev 137969)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Esposito <ragnarok at email.it>
+
+pkgname=emacs-php-mode
+pkgver=1.17.0
+pkgrel=1
+license=("GPL")
+pkgdesc="PHP mode for emacs"
+url="https://github.com/ejmr/php-mode"
+arch=('any')
+depends=('emacs')
+options=(docs zipman)
+install=emacs-php-mode.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ejmr/php-mode/archive/v$pkgver.tar.gz")
+md5sums=('cbe7f8d1d163df1ba2c6962aed6af904')
+
+build() {
+ cd $srcdir/php-mode-$pkgver
+ make
+}
+
+package() {
+ cd $srcdir/php-mode-$pkgver
+ install -D -m644 php-mode.el $pkgdir/usr/share/emacs/site-lisp/php-mode.el
+ install -dm0755 $pkgdir/usr/share/emacs/site-lisp/php-mode
+ cp -a skeleton $pkgdir/usr/share/emacs/site-lisp/php-mode/skeleton
+}
Deleted: emacs-php-mode.install
===================================================================
--- emacs-php-mode.install 2015-08-05 10:03:00 UTC (rev 137968)
+++ emacs-php-mode.install 2015-08-05 10:03:08 UTC (rev 137969)
@@ -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 137968, emacs-php-mode/trunk/emacs-php-mode.install)
===================================================================
--- emacs-php-mode.install (rev 0)
+++ emacs-php-mode.install 2015-08-05 10:03:08 UTC (rev 137969)
@@ -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