From 707457876743e969be9eb163c36928978df245cd Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Dec 2011 23:14:54 +0000 Subject: Thu Dec 8 23:14:54 UTC 2011 --- extra/zsh/PKGBUILD | 19 ++++++++++--------- extra/zsh/zprofile | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 extra/zsh/zprofile (limited to 'extra/zsh') diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD index 352881046..44368dc48 100644 --- a/extra/zsh/PKGBUILD +++ b/extra/zsh/PKGBUILD @@ -1,23 +1,23 @@ -# $Id: PKGBUILD 143828 2011-11-29 13:33:59Z stephane $ +# $Id: PKGBUILD 144599 2011-12-07 15:40:43Z pierre $ # Maintainer: Pierre Schmitz pkgname=zsh -pkgver=4.3.12 -pkgrel=3 +pkgver=4.3.14 +pkgrel=2 pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX' arch=('i686' 'x86_64') url='http://www.zsh.org/' license=('custom') depends=('pcre' 'libcap' 'gdbm') install=zsh.install -source=("ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.bz2" 'modules.patch') -md5sums=('7a82c0bf0635e046ca4e9ec1bdef3811' - 'b367c1398b60242f7044a93a837227f9') +source=("ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.bz2" + 'zprofile') +backup=('etc/zsh/zprofile') +md5sums=('1c819a3ff7302b42eba988e333e76109' + '24a9335edf77252a7b5f52e079f7aef7') build() { cd "${srcdir}/${pkgname}-${pkgver}" - # upstream patch to fix handling of compressed kernel modules - patch -p1 -i ${srcdir}/modules.patch # FS#16360 sed -i 's/init.d/rc.d/g' Doc/Zsh/compsys.yo \ Doc/zsh.texi \ @@ -29,7 +29,7 @@ build() { --enable-zshenv=/etc/zsh/zshenv \ --enable-zlogin=/etc/zsh/zlogin \ --enable-zlogout=/etc/zsh/zlogout \ - --enable-zprofile=/etc/profile \ + --enable-zprofile=/etc/zsh/zprofile \ --enable-zshrc=/etc/zsh/zshrc \ --enable-maildir-support \ --with-term-lib='ncursesw' \ @@ -54,5 +54,6 @@ check() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" install + install -D -m644 "${srcdir}/zprofile" "${pkgdir}/etc/zsh/zprofile" install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/zsh/zprofile b/extra/zsh/zprofile new file mode 100644 index 000000000..6bfcdf7cb --- /dev/null +++ b/extra/zsh/zprofile @@ -0,0 +1 @@ +emulate sh -c 'source /etc/profile' -- cgit v1.2.3-54-g00ecf