Skip to content
Snippets Groups Projects
Commit 7bd1be45 authored by Eivind Uggedal's avatar Eivind Uggedal
Browse files

main/zsh: fix loading of provided zprofile

With `--enable-etcdir=/etc/zsh` zprofile needs to be installed
to /etc/zsh. Also remove unnecessary configure flags for
zshenv/zlogin/zlogout/zshrc since they mathed defaults when
etcdir is enabled.
parent 035d8515
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zsh
pkgver=5.0.8
pkgrel=0
pkgrel=1
pkgdesc="A very advanced and programmable command interpreter (shell)"
url="http://www.zsh.org/"
arch="all"
......@@ -29,10 +29,6 @@ build() {
--prefix=/usr \
--bindir=/bin \
--enable-etcdir=/etc/zsh \
--enable-zshenv=/etc/zsh/zshenv \
--enable-zlogin=/etc/zsh/zlogin \
--enable-zlogout=/etc/zsh/zlogout \
--enable-zshrc=/etc/zsh/zshrc \
--enable-multibyte \
--enable-function-subdirs \
--enable-zsh-secure-free \
......@@ -47,7 +43,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 "$srcdir"/zprofile "$pkgdir"/etc/zprofile
install -Dm644 "$srcdir"/zprofile "$pkgdir"/etc/zsh/zprofile
}
md5sums="e6759e8dd7b714d624feffd0a73ba0fe zsh-5.0.8.tar.bz2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment