mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
# Contributor: <kalonji@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=zsh
|
|
pkgver=5.2
|
|
pkgrel=0
|
|
pkgdesc="A very advanced and programmable command interpreter (shell)"
|
|
url="http://www.zsh.org/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
makedepends=ncurses-dev
|
|
install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall"
|
|
source="http://www.zsh.org/pub/${pkgname}-${pkgver}.tar.xz
|
|
zprofile"
|
|
subpackages="$pkgname-doc"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--bindir=/bin \
|
|
--enable-etcdir=/etc/zsh \
|
|
--enable-multibyte \
|
|
--enable-function-subdirs \
|
|
--enable-zsh-secure-free \
|
|
--sysconfdir=/etc \
|
|
--with-tcsetpgrp \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
install -Dm644 "$srcdir"/zprofile "$pkgdir"/etc/zsh/zprofile
|
|
}
|
|
md5sums="afe96fde08b70e23c1cab1ca7a68fb34 zsh-5.2.tar.xz
|
|
a5e93cd6880da04a63fc4fcaaa03987f zprofile"
|
|
sha256sums="f17916320ffaa844bbd7ce48ceeb5945fc5f3eff64b149b4229bbfbdf3795a9d zsh-5.2.tar.xz
|
|
e3c3625d966c8277274798f26241857df5fc520e18674deba6cc356f6b022d63 zprofile"
|
|
sha512sums="9938af95e09203a0a313f441e0c23279136806f6f087475ca9a66c678c57ecffc87f73ece8133a36700af8de7cb5d1bec8559eabdec2b66102062e64026c2e72 zsh-5.2.tar.xz
|
|
59182b99447872ded8adf0d890e9359ee47fce0b7acb2808f4308f945885fbf6d977a0917bbb5c0f21454caf3ba06ab092127732da4f84292d6ab0989a0110fe zprofile"
|