mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
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.
This commit is contained in:
parent
035d8515ff
commit
7bd1be45cf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user