summaryrefslogtreecommitdiff
path: root/extra/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/emacs')
-rw-r--r--extra/emacs/PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/extra/emacs/PKGBUILD b/extra/emacs/PKGBUILD
index 9ea40af59..b47ca87b9 100644
--- a/extra/emacs/PKGBUILD
+++ b/extra/emacs/PKGBUILD
@@ -1,23 +1,23 @@
-# $Id: PKGBUILD 137977 2011-09-13 15:26:07Z juergen $
+# $Id: PKGBUILD 146181 2012-01-05 13:48:00Z juergen $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
+
pkgname=emacs
_majorver=23.3
-_minorver=a
+_minorver=b
# We want something like "23.3.a" so pacman version comparison works, but
# upstream uses "23.3a", which is a bit silly and interpreted as alpha.
pkgver=$_majorver.$_minorver
_realver=$_majorver$_minorver
-pkgrel=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' 'gtk2' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib')
install=emacs.install
-source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$_realver.tar.gz emacs.desktop)
-md5sums=('20aef9ea5b5bf8050d39f8b1e96a1c04'
- '8af038d2ba4561271e935bb444ceb4e3')
+source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$_realver.tar.gz)
+md5sums=('f2bfd8eab7e3b34a0f7f09acc0667e71')
build() {
cd "$srcdir"/$pkgname-$_majorver
@@ -42,9 +42,4 @@ package() {
chmod 775 "$pkgdir"/var/games/emacs
chmod 664 "$pkgdir"/var/games/emacs/*
chown -R root:games "$pkgdir"/var/games
-
- # fix FS#9253
- mkdir -p "$pkgdir"/usr/share/pixmaps "$pkgdir"/usr/share/applications
- install -D -m644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications
- ln -s ../emacs/$_majorver/etc/images/icons/hicolor/48x48/apps/emacs.png "$pkgdir"/usr/share/pixmaps/emacs-icon.png
}