Skip to content
Snippets Groups Projects
Commit 3e47a170 authored by eric's avatar eric
Browse files

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

git-svn-id: file:///srv/repos/svn-packages/svn@135952 eb2447ed-0c53-47e4-bac8-5bc4a241df78
parent 56487236
No related branches found
No related tags found
No related merge requests found
......@@ -8,24 +8,21 @@ _minorver=a
# 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
}
......
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 @@ post_upgrade() {
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
......
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