summaryrefslogtreecommitdiff
path: root/extra/zsh
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-08 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2011-12-08 23:14:54 +0000
commit707457876743e969be9eb163c36928978df245cd (patch)
tree24ed2c08e3ace85c9cee2302e97438421ca3f03d /extra/zsh
parent6f9a9504db6338f0c35c4ca70bad42965b74791a (diff)
Thu Dec 8 23:14:54 UTC 2011
Diffstat (limited to 'extra/zsh')
-rw-r--r--extra/zsh/PKGBUILD19
-rw-r--r--extra/zsh/zprofile1
2 files changed, 11 insertions, 9 deletions
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 <pierre@archlinux.de>
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'