[arch-commits] Commit in emacs/trunk (PKGBUILD emacs.install)

2016-05-05 Thread Antonio Rojas
Date: Thursday, May 5, 2016 @ 23:06:55
  Author: arojas
Revision: 266974

Hooks

Modified:
  emacs/trunk/PKGBUILD
Deleted:
  emacs/trunk/emacs.install

---+
 PKGBUILD  |3 +--
 emacs.install |   32 
 2 files changed, 1 insertion(+), 34 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-05 20:55:23 UTC (rev 266973)
+++ PKGBUILD2016-05-05 21:06:55 UTC (rev 266974)
@@ -4,13 +4,12 @@
 
 pkgname=emacs
 pkgver=24.5
-pkgrel=2
+pkgrel=3
 pkgdesc="The extensible, customizable, self-documenting real-time display 
editor"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/emacs/emacs.html;
 license=('GPL3')
 depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk3' 
'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick' 
'gnutls')
-install=emacs.install
 validpgpkeys=('B29426DEFB07724C3C35E5D36592E9A3A0B0F199' 
'28D3BED851FDF3AB57FEF93C233587A47C207910')
 source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.xz{,.sig})
 md5sums=('50560ee00bac9bb9cf0e822764cd0832'

Deleted: emacs.install
===
--- emacs.install   2016-05-05 20:55:23 UTC (rev 266973)
+++ emacs.install   2016-05-05 21:06:55 UTC (rev 266974)
@@ -1,32 +0,0 @@
-ICON_PATH=usr/share/icons/hicolor
-INFO_DIR=usr/share/info
-
-INFO_FILES=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse
-ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert 
eshell eudc flymake
-forms gnus htmlfontify idlwave mairix-el message mh-e newsticker nxml-mode
-org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
-speedbar srecode tramp url vip viper widget wisent woman)
-
-post_install() {
-  gtk-update-icon-cache -q -t -f ${ICON_PATH}
-  update-desktop-database -q
-
-  [[ -x usr/bin/install-info ]] || return 0
-  for f in ${INFO_FILES[@]}; do
-install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  gtk-update-icon-cache -q -t -f ${ICON_PATH}
-  update-desktop-database -q
-
-  [[ -x usr/bin/install-info ]] || return 0
-  for f in ${INFO_FILES[@]}; do
-install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
-  done
-}


[arch-commits] Commit in emacs/trunk (PKGBUILD emacs.install)

2013-03-18 Thread Eric Bélanger
Date: Monday, March 18, 2013 @ 21:22:11
  Author: eric
Revision: 180240

upgpkg: emacs 24.3-1

Rebuild against imagemagick-6.8.3.9, Upstream update, Update info pages 
handling in install scriptlet

Modified:
  emacs/trunk/PKGBUILD
  emacs/trunk/emacs.install

---+
 PKGBUILD  |   12 +++-
 emacs.install |   10 +-
 2 files changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-18 19:28:47 UTC (rev 180239)
+++ PKGBUILD2013-03-18 20:22:11 UTC (rev 180240)
@@ -3,18 +3,18 @@
 # Contributor: Renchi Raju ren...@green.tam.uiuc.edu
 
 pkgname=emacs
-pkgver=24.2
-pkgrel=4
+pkgver=24.3
+pkgrel=1
 pkgdesc=The extensible, customizable, self-documenting real-time display 
editor
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/emacs/emacs.html;
 license=('GPL3')
 depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk3' 
'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick')
 install=emacs.install
-source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.bz2{,.sig})
-md5sums=('1676803a50e8adc817fdaaebb9234f14' 'ca1766337f419ef827dd96d1ff78f158')
+source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('ea9ed000ca165280265aabb55b9afbd7'
+ '3f6990fabfbe1d5f3cd58bace4eb20f1')
 
-
 build() {
   cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
@@ -29,6 +29,8 @@
   # remove conflict with ctags package
   mv $pkgdir/usr/bin/{ctags,ctags.emacs}
   mv $pkgdir/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1}
+  # remove conflict with texinfo
+  rm $pkgdir/usr/share/info/info.info.gz
   # fix user/root permissions on usr/share files
   find $pkgdir/usr/share/emacs/$pkgver -exec chown root:root {} \;
   # fix perms on /var/games

Modified: emacs.install
===
--- emacs.install   2013-03-18 19:28:47 UTC (rev 180239)
+++ emacs.install   2013-03-18 20:22:11 UTC (rev 180240)
@@ -1,11 +1,11 @@
 ICON_PATH=usr/share/icons/hicolor
 INFO_DIR=usr/share/info
 
-INFO_FILES=(ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse
+INFO_FILES=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse
 ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert 
eshell eudc flymake
-forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode
+forms gnus htmlfontify idlwave mairix-el message mh-e newsticker nxml-mode
 org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
-speedbar tramp url vip viper widget woman)
+speedbar srecode tramp url vip viper widget wisent woman)
 
 post_install() {
   gtk-update-icon-cache -q -t -f ${ICON_PATH}
@@ -13,7 +13,7 @@
 
   [[ -x usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
-install-info ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2 /dev/null
+install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2 /dev/null
   done
 }
 
@@ -27,6 +27,6 @@
 
   [[ -x usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
-install-info --delete ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2 /dev/null
+install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2 /dev/null
   done
 }



[arch-commits] Commit in emacs/trunk (PKGBUILD emacs.install)

2012-11-18 Thread Eric Bélanger
Date: Sunday, November 18, 2012 @ 03:01:04
  Author: eric
Revision: 171501

upgpkg: emacs 24.2-3

Fix undefined variable (close FS#32163), Update info pages in .install file

Modified:
  emacs/trunk/PKGBUILD
  emacs/trunk/emacs.install

---+
 PKGBUILD  |6 ++
 emacs.install |2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-18 07:59:37 UTC (rev 171500)
+++ PKGBUILD2012-11-18 08:01:04 UTC (rev 171501)
@@ -4,7 +4,7 @@
 
 pkgname=emacs
 pkgver=24.2
-pkgrel=2
+pkgrel=3
 pkgdesc=The extensible, customizable, self-documenting real-time display 
editor
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/emacs/emacs.html;
@@ -29,10 +29,8 @@
   # remove conflict with ctags package
   mv $pkgdir/usr/bin/{ctags,ctags.emacs}
   mv $pkgdir/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1}
-  # fix all the 777 perms on directories
-  find $pkgdir/usr/share/emacs/$_majorver -type d -exec chmod 755 {} \;
   # fix user/root permissions on usr/share files
-  find $pkgdir/usr/share/emacs/$_majorver -exec chown root:root {} \;
+  find $pkgdir/usr/share/emacs/$pkgver -exec chown root:root {} \;
   # fix perms on /var/games
   chmod 775 $pkgdir/var/games
   chmod 775 $pkgdir/var/games/emacs

Modified: emacs.install
===
--- emacs.install   2012-11-18 07:59:37 UTC (rev 171500)
+++ emacs.install   2012-11-18 08:01:04 UTC (rev 171501)
@@ -2,7 +2,7 @@
 INFO_DIR=usr/share/info
 
 INFO_FILES=(ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse
-ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc eshell eudc 
flymake
+ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert 
eshell eudc flymake
 forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode
 org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
 speedbar tramp url vip viper widget woman)



[arch-commits] Commit in emacs/trunk (PKGBUILD emacs.install)

2011-08-20 Thread Eric Bélanger
Date: Saturday, August 20, 2011 @ 22:29:35
  Author: eric
Revision: 135952

upgpkg: emacs 23.3.a-2

Improve description, Update license, Clean up depends, Add 
desktop-file-utils depends to run update-desktop-database in install scriptlet, 
Update list of info pages in install scriptlet, Remove docs option, Remove cdet 
replace array

Modified:
  emacs/trunk/PKGBUILD
  emacs/trunk/emacs.install

---+
 PKGBUILD  |   17 +++--
 emacs.install |   12 
 2 files changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-08-20 21:33:41 UTC (rev 135951)
+++ PKGBUILD2011-08-21 02:29:35 UTC (rev 135952)
@@ -8,24 +8,21 @@
 # upstream uses 23.3a, which is a bit silly and interpreted as alpha.
 pkgver=$_majorver.$_minorver
 _realver=$_majorver$_minorver
-pkgrel=1
-pkgdesc=The Emacs Editor
-arch=(i686 x86_64)
+pkgrel=2
+pkgdesc=The extensible, customizable, self-documenting real-time display 
editor
+arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/emacs/emacs.html;
-license=('GPL')
-options=(docs)
-replaces=(cedet)
-depends=('dbus-core' 'librsvg' 'gpm' 'giflib' 'libtiff'  'libxpm' 'libjpeg' 
'libxft' 'gtk2' 'texinfo' 'hicolor-icon-theme' 'gconf')
+license=('GPL3')
+depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'gtk2' 'hicolor-icon-theme' 'gconf' 
'desktop-file-utils')
+install=emacs.install
 source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$_realver.tar.gz emacs.desktop)
 md5sums=('20aef9ea5b5bf8050d39f8b1e96a1c04'
  '8af038d2ba4561271e935bb444ceb4e3')
-install=emacs.install
 
 build() {
   cd $srcdir/$pkgname-$_majorver
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
---localstatedir=/var --mandir=/usr/share/man --without-sound \
---with-x-toolkit=gtk --with-xft
+--localstatedir=/var --without-sound --with-x-toolkit=gtk --with-xft
   make
 }
 

Modified: emacs.install
===
--- emacs.install   2011-08-20 21:33:41 UTC (rev 135951)
+++ emacs.install   2011-08-21 02:29:35 UTC (rev 135952)
@@ -1,15 +1,17 @@
-ICON_PATH=/usr/share/icons/hicolor
-INFO_DIR=/usr/share/info
+ICON_PATH=usr/share/icons/hicolor
+INFO_DIR=usr/share/info
 
 INFO_FILES=(ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse
-ediff efaq eintr elisp emacs emacs-mime epa erc eshell eudc flymake
+ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc eshell eudc 
flymake
 forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode
-org pcl-cvs pgg rcirc reftex remember sasl sc ses sieve smtpmail
+org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
 speedbar tramp url vip viper widget woman)
 
 post_install() {
   gtk-update-icon-cache -q -t -f ${ICON_PATH}
+  update-desktop-database -q
 
+  [[ -x usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
 install-info ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2 /dev/null
   done
@@ -21,7 +23,9 @@
 
 pre_remove() {
   gtk-update-icon-cache -q -t -f ${ICON_PATH}
+  update-desktop-database -q
 
+  [[ -x usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
 install-info --delete ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2 /dev/null
   done