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 ----------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 ~lukeshu/emacs24/PKGBUILD (limited to '~lukeshu/emacs24/PKGBUILD') 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') -- cgit v1.2.3-2-g168b