zsh: update to 5.0.7

This commit is contained in:
Francesco Marinucci 2014-12-16 15:06:47 +00:00
parent 927a030b00
commit dfc7b25b5a

View File

@ -5,7 +5,7 @@
# Contributor: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=zsh
pkgver=5.0.5
pkgver=5.0.7
pkgrel=1
pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX'
arch=('x86_64')
@ -14,13 +14,13 @@ license=('custom')
depends=('pcre' 'libcap' 'gdbm')
categories=('system')
install=zsh.install
source=("ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.gz"
source=("http://www.zsh.org/pub/${pkgname}-${pkgver}.tar.gz"
"zprofile")
md5sums=('6fb0e3e52a0f8de5ca63138391b81ce0'
md5sums=('76726ff50309e628de670476e0508b3a'
'24a9335edf77252a7b5f52e079f7aef7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/init.d/rc.d/g' Doc/Zsh/compsys.yo \
Doc/zsh.texi \
Completion/Unix/Type/_services \
@ -30,7 +30,6 @@ build() {
sed -i 's#/usr/share/keymaps#/usr/share/kbd/keymaps#g' Completion/Unix/Command/_loadkeys
./configure --prefix=/usr \
--bindir=/bin \
--enable-etcdir=/etc/zsh \
--enable-zshenv=/etc/zsh/zshenv \
--enable-zlogin=/etc/zsh/zlogin \
@ -51,13 +50,13 @@ build() {
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
HOME="${srcdir}" make check
cd "$srcdir/$pkgname-$pkgver"
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"
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"
}