From 02c2ba4478fda77b3f2363434774d455b240d984 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jul 2012 18:16:57 -0400 Subject: rm ~/lukeshu/emacs24, emacs24 is now just emacs --- ~lukeshu/emacs24/PKGBUILD | 85 ------------------------------------------ ~lukeshu/emacs24/emacs.desktop | 12 ------ ~lukeshu/emacs24/emacs.install | 32 ---------------- 3 files changed, 129 deletions(-) delete mode 100644 ~lukeshu/emacs24/PKGBUILD delete mode 100644 ~lukeshu/emacs24/emacs.desktop delete mode 100644 ~lukeshu/emacs24/emacs.install (limited to '~lukeshu') diff --git a/~lukeshu/emacs24/PKGBUILD b/~lukeshu/emacs24/PKGBUILD deleted file mode 100644 index f9eb76d64..000000000 --- a/~lukeshu/emacs24/PKGBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# $Id: PKGBUILD 137977 2011-09-13 15:26:07Z juergen $ -# Maintainer: Juergen Hoetzel -# Contributor: Renchi Raju -pkgname=emacs24-bzr -_majorver=24.0.92 -pkgver=106756 -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') -makedepends=('bzr') -install=emacs.install -source=(emacs.desktop) -md5sums=() - -_bzrtrunk=bzr://bzr.savannah.gnu.org/emacs/trunk -_bzrmod=$pkgname - -build() { - cd "$srcdir" - msg "Connecting to Bazaar server...." - - if [[ -d "$_bzrmod" ]]; then - cd "$_bzrmod" && bzr --no-plugins pull "$_bzrtrunk" -v -r "$pkgver" 2>&1 - msg "The local files are updated." - else - bzr --no-plugins branch "$_bzrtrunk" "$_bzrmod" -v -r "$pkgver" 2>&1 - fi - - msg "Bazaar checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_bzrmod-$_majorver" - cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-$_majorver" - - cd "$srcdir"/$pkgname-$_majorver - ./autogen.sh - ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ - --localstatedir=/var --with-x-toolkit=gtk --with-xft - make -} - -package() { - provides=("emacs=${_majorver}a") - - cd "$srcdir"/$pkgname-$_majorver - make DESTDIR="$pkgdir" install - - # remove conflict with ctags package - mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} - mv "$pkgdir"/usr/share/man/man1/{ctags,ctags.emacs}.1.gz - # 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 {} \; - # fix perms on /var/games - chmod 775 "$pkgdir"/var/games - 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 - ln -s $pkgdir../emacs/$_majorver/etc/images/icons/hicolor/48x48/apps/emacs.png "$pkgdir"/usr/share/pixmaps/emacs-icon.png - - # This is done down here to help future-proof the above - rm "$pkgdir"/usr/bin/emacs - mv "$pkgdir"/usr/share/man/man1/emacs{,-$_majorver}.1.gz - for prog in ctags.emacs ebrowse emacsclient etags grep-changelog rcs-checkin; do - mv "$pkgdir"/usr/bin/$prog{,-$_majorver} - mv "$pkgdir"/usr/share/man/man1/$prog{,-24}.1.gz - done - mv "$pkgdir"/usr/share/applications/emacs{,24}.desktop - mv "$pkgdir"/usr/share/emacs/site-lisp/subdirs{,.emacs24}.el - rm "$pkgdir"/usr/share/info/dir - for file in "$pkgdir"/usr/share/pixmaps/emacs-icon.png `find "$pkgdir"/usr/share/{icons,info} -type f`; do - mv "$file" "`echo "$file"|sed 's/\..*/-24&/'`" - done - ln -s "$_majorver" "$pkgdir"/usr/share/emacs/24 - rm "$pkgdir"/var/games/emacs/* -} - -md5sums=('bc513345deb65f0e910f43c1a74072de') diff --git a/~lukeshu/emacs24/emacs.desktop b/~lukeshu/emacs24/emacs.desktop deleted file mode 100644 index 1b18fd46c..000000000 --- a/~lukeshu/emacs24/emacs.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Emacs Text Editor -Name[de]=Emacs Texteditor -GenericName=Text Editor -Comment=Edit text -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=emacs24 %f -Icon=emacs-icon -Type=Application -Terminal=false -Categories=Development;TextEditor; -StartupWMClass=Emacs diff --git a/~lukeshu/emacs24/emacs.install b/~lukeshu/emacs24/emacs.install deleted file mode 100644 index d84f1de14..000000000 --- a/~lukeshu/emacs24/emacs.install +++ /dev/null @@ -1,32 +0,0 @@ -ICON_PATH=usr/share/icons/hicolor -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 -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) - -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 -} - -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.gz ${INFO_DIR}/dir 2> /dev/null - done -} -- cgit v1.2.3-2-g168b