[arch-commits] Commit in zsh/trunk (PKGBUILD zprofile)

Giovanni Scafora giovanni at archlinux.org
Tue Oct 20 11:55:08 UTC 2009


    Date: Tuesday, October 20, 2009 @ 07:55:08
  Author: giovanni
Revision: 56248

upgpkg: zsh 4.3.10-3
    Fixed FS16360

Modified:
  zsh/trunk/PKGBUILD
Deleted:
  zsh/trunk/zprofile

----------+
 PKGBUILD |   19 ++++++++++++-------
 zprofile |   36 ------------------------------------
 2 files changed, 12 insertions(+), 43 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-20 11:06:25 UTC (rev 56247)
+++ PKGBUILD	2009-10-20 11:55:08 UTC (rev 56248)
@@ -2,19 +2,26 @@
 # Maintainer: Jeff 'codemac' Mickey <jeff at archlinux.org>
 # Maintainer: aurelien <aurelien at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at home.nl>
+
 pkgname=zsh
 pkgver=4.3.10
-pkgrel=2
+pkgrel=3
 pkgdesc="A very advanced and programmable command interpreter (shell) for UNIX"
 arch=('i686' 'x86_64')
 url="http://www.zsh.org/"
 license=('custom')
 depends=('ncurses' 'pcre')
 install=zsh.install
-source=(ftp://ftp.zsh.org/pub/$pkgname-$pkgver.tar.bz2)
+source=(ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('74c5b275544400082a1cde806c98682a')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # FS#16360
+  sed -i "s:init.d:rc.d:g" Doc/Zsh/compsys.yo \
+                           Doc/zsh.texi \
+                           Completion/Unix/Type/_services \
+                           Completion/Unix/Command/_init_d
   ./configure --prefix=/usr \
               --bindir=/bin \
               --enable-etcdir=/etc/zsh \
@@ -33,9 +40,7 @@
               --enable-zsh-secure-free \
 	      --disable-gdbm
   make || return 1
-  make DESTDIR="$pkgdir/" install
+  make DESTDIR="${pkgdir}/" install
 
-  install -D -m644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-
-md5sums=('74c5b275544400082a1cde806c98682a')

Deleted: zprofile
===================================================================
--- zprofile	2009-10-20 11:06:25 UTC (rev 56247)
+++ zprofile	2009-10-20 11:55:08 UTC (rev 56248)
@@ -1,36 +0,0 @@
-#
-# /etc/zsh/zprofile
-#
-
-export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/opt/bin"
-
-export MANPATH="/usr/man"
-export LESSCHARSET="latin1"
-export INPUTRC="/etc/inputrc"
-export LESS="-R"
-
-# Locale settings (find your locale with 'locale -a')
-export LANG="en_US"
-export LC_COLLATE="C"
-
-export COLUMNS LINES
-
-export PS1='[%n@%m %1~]$ '
-export PS2='> '
-
-umask 022
-
-if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
-  PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
-fi
-
-# load profiles from /etc/profile.d
-#  (to disable a profile, just remove execute permission on it)
-for profile in /etc/profile.d/*.sh; do
-  if [ -x $profile ]; then
-    . $profile
-  fi
-done
-unset profile
-
-# End of file




More information about the arch-commits mailing list