Skip to content
Snippets Groups Projects
Commit 3a87d263 authored by juergen's avatar juergen
Browse files

Merged revisions 48120-48122 via svnmerge from

svn+ssh://svn.archlinux.org/srv/svn-packages/emacs/trunk

........
  r48120 | juergen | 2009-07-31 18:22:29 +0200 (Fr, 31 Jul 2009) | 1 line
  
  fix new depends
........
  r48121 | juergen | 2009-07-31 18:31:14 +0200 (Fr, 31 Jul 2009) | 1 line
  
  update icon cache on install/uninstall
........
  r48122 | juergen | 2009-07-31 19:03:58 +0200 (Fr, 31 Jul 2009) | 1 line
  
  add missing info pages
........


git-svn-id: file:///srv/repos/svn-packages/svn@48124 eb2447ed-0c53-47e4-bac8-5bc4a241df78
parent cf99a1e6
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,13 @@
# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
pkgname=emacs
pkgver=23.1
pkgrel=2
pkgrel=3
pkgdesc="The Emacs Editor"
arch=(i686 x86_64)
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL')
options=(docs)
depends=('ncurses' 'libpng' 'libtiff' 'giflib' 'libxpm' 'libjpeg>=7' 'gtk2' 'texinfo')
depends=('dbus-core' 'librsvg' 'gpm' 'giflib' 'libtiff' 'libxpm' 'libjpeg>=7' 'gtk2' 'texinfo' 'hicolor-icon-theme')
source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.gz emacs.desktop)
md5sums=('a620d4452769d04ad8864d662f34f8dd' '8af038d2ba4561271e935bb444ceb4e3')
install=emacs.install
......
info_dir=/usr/share/info
info_files=(infoada-mode autotype calc ccmode cl dir dired-x ebrowse
ediff efaq eintr elisp emacs emacs-mime erc eshell eudc flymake forms
gnus idlwave info message mh-e newsticker org pcl-cvs pgg rcirc reftex
sc ses sieve smtpmail speedbar tramp url vip viper widget woman)
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
forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode
org pcl-cvs pgg rcirc reftex remember sasl sc ses sieve smtpmail
speedbar tramp url vip viper widget woman)
post_install() {
for f in ${info_files[@]}; do
install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
gtk-update-icon-cache -q -t -f ${ICON_PATH}
for f in ${INFO_FILES[@]}; do
install-info ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null
done
}
......@@ -15,8 +20,10 @@ post_upgrade() {
}
pre_remove() {
for f in ${info_files[@]}; do
install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
gtk-update-icon-cache -q -t -f ${ICON_PATH}
for f in ${INFO_FILES[@]}; do
install-info --delete ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment