summaryrefslogtreecommitdiff
path: root/harmony/zsh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'harmony/zsh/APKBUILD')
-rw-r--r--harmony/zsh/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/harmony/zsh/APKBUILD b/harmony/zsh/APKBUILD
index 0405b6ba6..3672a0445 100644
--- a/harmony/zsh/APKBUILD
+++ b/harmony/zsh/APKBUILD
@@ -9,12 +9,13 @@ url="http://www.zsh.org/"
arch="all"
license="BSD"
depends="debianutils" # add-shell
-makedepends="ncurses-dev pcre-dev"
+makedepends_host="ncurses-dev pcre-dev"
install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall"
source="http://www.zsh.org/pub/$pkgname-$pkgver.tar.gz
zprofile
"
-subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch $pkgname-zftp"
+subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch"
+[ "$CBUILD" != "$CHOST" ] || subpackages="$subpackages $pkgname-zftp"
builddir="$srcdir/$pkgname-$pkgver"
_libdir="usr/lib/zsh/$pkgver"