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

Sergej Pupykin spupykin at archlinux.org
Thu Jun 21 22:41:34 UTC 2018


    Date: Thursday, June 21, 2018 @ 22:41:33
  Author: spupykin
Revision: 344339

archrelease: copy trunk to community-any

Added:
  emacs-php-mode/repos/community-any/PKGBUILD
    (from rev 344338, emacs-php-mode/trunk/PKGBUILD)
  emacs-php-mode/repos/community-any/emacs-php-mode.install
    (from rev 344338, 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               |   59 +++++++++++++++++++++++------------------------
 emacs-php-mode.install |   26 ++++++++++----------
 2 files changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-21 22:41:22 UTC (rev 344338)
+++ PKGBUILD	2018-06-21 22:41:33 UTC (rev 344339)
@@ -1,29 +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.19.1
-pkgrel=2
-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")
-sha256sums=('23a891e989eb0466d1dddcb6cb62404d3f1c7a329d7ab6709c8fc16e1bc277c9')
-
-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
-  install -Dm0644 php-project.el "$pkgdir"/usr/share/emacs/site-lisp/php-project.el
-}

Copied: emacs-php-mode/repos/community-any/PKGBUILD (from rev 344338, emacs-php-mode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-21 22:41:33 UTC (rev 344339)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Esposito <ragnarok at email.it>
+
+pkgname=emacs-php-mode
+pkgver=1.19.1
+pkgrel=3
+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")
+sha256sums=('23a891e989eb0466d1dddcb6cb62404d3f1c7a329d7ab6709c8fc16e1bc277c9')
+
+build() {
+  cd "$srcdir"/php-mode-$pkgver
+  make -j1
+}
+
+package() {
+  cd "$srcdir"/php-mode-$pkgver
+  for i in *.el{,c}; do
+    install -Dm0644 $i "$pkgdir"/usr/share/emacs/site-lisp/php-mode/$i
+  done
+  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	2018-06-21 22:41:22 UTC (rev 344338)
+++ emacs-php-mode.install	2018-06-21 22:41:33 UTC (rev 344339)
@@ -1,13 +0,0 @@
-post_install() {
-  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
-}

Copied: emacs-php-mode/repos/community-any/emacs-php-mode.install (from rev 344338, emacs-php-mode/trunk/emacs-php-mode.install)
===================================================================
--- emacs-php-mode.install	                        (rev 0)
+++ emacs-php-mode.install	2018-06-21 22:41:33 UTC (rev 344339)
@@ -0,0 +1,13 @@
+post_install() {
+  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
+}



More information about the arch-commits mailing list