[arch-commits] Commit in zsh/repos (10 files)
Pierre Schmitz
pierre at archlinux.org
Wed Dec 7 15:38:51 UTC 2011
Date: Wednesday, December 7, 2011 @ 10:38:51
Author: pierre
Revision: 144597
archrelease: copy trunk to extra-x86_64, extra-i686
Added:
zsh/repos/extra-i686/PKGBUILD
(from rev 144596, zsh/trunk/PKGBUILD)
zsh/repos/extra-i686/zprofile
(from rev 144596, zsh/trunk/zprofile)
zsh/repos/extra-i686/zsh.install
(from rev 144596, zsh/trunk/zsh.install)
zsh/repos/extra-x86_64/PKGBUILD
(from rev 144596, zsh/trunk/PKGBUILD)
zsh/repos/extra-x86_64/zprofile
(from rev 144596, zsh/trunk/zprofile)
zsh/repos/extra-x86_64/zsh.install
(from rev 144596, zsh/trunk/zsh.install)
Deleted:
zsh/repos/extra-i686/PKGBUILD
zsh/repos/extra-i686/zprofile
zsh/repos/extra-x86_64/PKGBUILD
zsh/repos/extra-x86_64/zprofile
--------------------------+
extra-i686/PKGBUILD | 118 ++++++++++++++++++++++-----------------------
extra-i686/zprofile | 2
extra-i686/zsh.install | 11 ++++
extra-x86_64/PKGBUILD | 118 ++++++++++++++++++++++-----------------------
extra-x86_64/zprofile | 2
extra-x86_64/zsh.install | 11 ++++
6 files changed, 142 insertions(+), 120 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2011-12-07 15:35:40 UTC (rev 144596)
+++ extra-i686/PKGBUILD 2011-12-07 15:38:51 UTC (rev 144597)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=zsh
-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"
- 'zprofile')
-backup=('etc/zsh/zprofile')
-md5sums=('1c819a3ff7302b42eba988e333e76109'
- '24a9335edf77252a7b5f52e079f7aef7')
-
-build() {
- 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 \
- --enable-zshenv=/etc/zsh/zshenv \
- --enable-zlogin=/etc/zsh/zlogin \
- --enable-zlogout=/etc/zsh/zlogout \
- --enable-zprofile=/etc/zsh/zprofile \
- --enable-zshrc=/etc/zsh/zshrc \
- --enable-maildir-support \
- --with-term-lib='ncursesw' \
- --enable-multibyte \
- --enable-function-subdirs \
- --enable-fndir=/usr/share/zsh/functions \
- --enable-scriptdir=/usr/share/zsh/scripts \
- --with-tcsetpgrp \
- --enable-pcre \
- --enable-cap \
- --enable-zsh-secure-free
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # This test wont work with the noatime mount option
- rm Test/C02cond.ztst
- HOME="${srcdir}" make 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"
-}
Copied: zsh/repos/extra-i686/PKGBUILD (from rev 144596, zsh/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=zsh
+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"
+ 'zprofile')
+backup=('etc/zsh/zprofile')
+md5sums=('1c819a3ff7302b42eba988e333e76109'
+ '24a9335edf77252a7b5f52e079f7aef7')
+
+build() {
+ 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 \
+ --enable-zshenv=/etc/zsh/zshenv \
+ --enable-zlogin=/etc/zsh/zlogin \
+ --enable-zlogout=/etc/zsh/zlogout \
+ --enable-zprofile=/etc/zsh/zprofile \
+ --enable-zshrc=/etc/zsh/zshrc \
+ --enable-maildir-support \
+ --with-term-lib='ncursesw' \
+ --enable-multibyte \
+ --enable-function-subdirs \
+ --enable-fndir=/usr/share/zsh/functions \
+ --enable-scriptdir=/usr/share/zsh/scripts \
+ --with-tcsetpgrp \
+ --enable-pcre \
+ --enable-cap \
+ --enable-zsh-secure-free
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # This test wont work with the noatime mount option
+ rm Test/C02cond.ztst
+ HOME="${srcdir}" make 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"
+}
Deleted: extra-i686/zprofile
===================================================================
--- extra-i686/zprofile 2011-12-07 15:35:40 UTC (rev 144596)
+++ extra-i686/zprofile 2011-12-07 15:38:51 UTC (rev 144597)
@@ -1 +0,0 @@
-emulate sh -c 'source /etc/profile'
Copied: zsh/repos/extra-i686/zprofile (from rev 144596, zsh/trunk/zprofile)
===================================================================
--- extra-i686/zprofile (rev 0)
+++ extra-i686/zprofile 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1 @@
+emulate sh -c 'source /etc/profile'
Copied: zsh/repos/extra-i686/zsh.install (from rev 144596, zsh/trunk/zsh.install)
===================================================================
--- extra-i686/zsh.install (rev 0)
+++ extra-i686/zsh.install 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1,11 @@
+post_install() {
+ grep -q '/bin/zsh' etc/shells || echo '/bin/zsh' >> etc/shells
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ sed -i '/^\/bin\/zsh/d' etc/shells
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2011-12-07 15:35:40 UTC (rev 144596)
+++ extra-x86_64/PKGBUILD 2011-12-07 15:38:51 UTC (rev 144597)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=zsh
-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"
- 'zprofile')
-backup=('etc/zsh/zprofile')
-md5sums=('1c819a3ff7302b42eba988e333e76109'
- '24a9335edf77252a7b5f52e079f7aef7')
-
-build() {
- 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 \
- --enable-zshenv=/etc/zsh/zshenv \
- --enable-zlogin=/etc/zsh/zlogin \
- --enable-zlogout=/etc/zsh/zlogout \
- --enable-zprofile=/etc/zsh/zprofile \
- --enable-zshrc=/etc/zsh/zshrc \
- --enable-maildir-support \
- --with-term-lib='ncursesw' \
- --enable-multibyte \
- --enable-function-subdirs \
- --enable-fndir=/usr/share/zsh/functions \
- --enable-scriptdir=/usr/share/zsh/scripts \
- --with-tcsetpgrp \
- --enable-pcre \
- --enable-cap \
- --enable-zsh-secure-free
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # This test wont work with the noatime mount option
- rm Test/C02cond.ztst
- HOME="${srcdir}" make 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"
-}
Copied: zsh/repos/extra-x86_64/PKGBUILD (from rev 144596, zsh/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=zsh
+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"
+ 'zprofile')
+backup=('etc/zsh/zprofile')
+md5sums=('1c819a3ff7302b42eba988e333e76109'
+ '24a9335edf77252a7b5f52e079f7aef7')
+
+build() {
+ 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 \
+ --enable-zshenv=/etc/zsh/zshenv \
+ --enable-zlogin=/etc/zsh/zlogin \
+ --enable-zlogout=/etc/zsh/zlogout \
+ --enable-zprofile=/etc/zsh/zprofile \
+ --enable-zshrc=/etc/zsh/zshrc \
+ --enable-maildir-support \
+ --with-term-lib='ncursesw' \
+ --enable-multibyte \
+ --enable-function-subdirs \
+ --enable-fndir=/usr/share/zsh/functions \
+ --enable-scriptdir=/usr/share/zsh/scripts \
+ --with-tcsetpgrp \
+ --enable-pcre \
+ --enable-cap \
+ --enable-zsh-secure-free
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # This test wont work with the noatime mount option
+ rm Test/C02cond.ztst
+ HOME="${srcdir}" make 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"
+}
Deleted: extra-x86_64/zprofile
===================================================================
--- extra-x86_64/zprofile 2011-12-07 15:35:40 UTC (rev 144596)
+++ extra-x86_64/zprofile 2011-12-07 15:38:51 UTC (rev 144597)
@@ -1 +0,0 @@
-emulate sh -c 'source /etc/profile'
Copied: zsh/repos/extra-x86_64/zprofile (from rev 144596, zsh/trunk/zprofile)
===================================================================
--- extra-x86_64/zprofile (rev 0)
+++ extra-x86_64/zprofile 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1 @@
+emulate sh -c 'source /etc/profile'
Copied: zsh/repos/extra-x86_64/zsh.install (from rev 144596, zsh/trunk/zsh.install)
===================================================================
--- extra-x86_64/zsh.install (rev 0)
+++ extra-x86_64/zsh.install 2011-12-07 15:38:51 UTC (rev 144597)
@@ -0,0 +1,11 @@
+post_install() {
+ grep -q '/bin/zsh' etc/shells || echo '/bin/zsh' >> etc/shells
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ sed -i '/^\/bin\/zsh/d' etc/shells
+}
More information about the arch-commits
mailing list