aboutsummaryrefslogtreecommitdiffstats
path: root/main/zsh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/zsh/APKBUILD')
-rw-r--r--main/zsh/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/main/zsh/APKBUILD b/main/zsh/APKBUILD
index 1bad15b77f..6d8f49ed4a 100644
--- a/main/zsh/APKBUILD
+++ b/main/zsh/APKBUILD
@@ -7,22 +7,24 @@ pkgdesc="A very advanced and programmable command interpreter (shell)"
url="http://www.zsh.org/"
arch="all"
license="BSD"
-depends=
-makedepends=ncurses-dev
+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"
+source="http://www.zsh.org/pub/$pkgname-$pkgver.tar.xz
+ zprofile"
subpackages="$pkgname-doc"
-
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
+
+ default_prepare || return 1
update_config_sub || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,10 +43,12 @@ build() {
}
package() {
- cd "$_builddir"
+ 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