summaryrefslogtreecommitdiff
path: root/repo/zsh/zsh.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
commit66c326b6d65388e9f1003715ad9675505f01f9d2 (patch)
tree40d7355cccfa3464902cf339a563e744c28a7101 /repo/zsh/zsh.xibuild
parentfccdaa986f67f820df2914bef851d5fed77abac8 (diff)
added porting from alpine linux
Diffstat (limited to 'repo/zsh/zsh.xibuild')
-rw-r--r--repo/zsh/zsh.xibuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/zsh/zsh.xibuild b/repo/zsh/zsh.xibuild
new file mode 100644
index 0000000..76f93b5
--- /dev/null
+++ b/repo/zsh/zsh.xibuild
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+NAME="zsh"
+DESC="Very advanced and programmable command interpreter (shell)"
+
+MAKEDEPS="make "
+DEPS="sbase libcap musl ncurses "
+
+PKG_VER=5.8.1
+SOURCE="https://download.sourceforge.net/project/zsh/zsh/$PKG_VER/zsh-$PKG_VER.tar.xz"
+
+prepare () {
+ cd "$BUILD_ROOT/Completion"
+ rm -Rf AIX BSD Cygwin Darwin Debian Mandriva Redhat Solaris openSUSE
+}
+
+build () {
+ cd $BUILD_ROOT
+ ./configure \
+ --prefix=/usr \
+ --enable-etcdir=/etc/zsh \
+ --enable-pcre \
+ --enable-cap \
+ --enable-multibyte \
+ --enable-function-subdirs \
+ --enable-zsh-secure-free \
+ --sysconfdir=/etc \
+ --with-tcsetpgrp \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}