summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVincent Grande2020-12-11 12:36:52 -0500
committerVincent Grande2020-12-11 12:36:52 -0500
commit415097f9bd8b7f1cf67fbb412af4fbfdc452889d (patch)
treedd64009b12baa162d8e2422659eb9f2cd30a452f /PKGBUILD
parent5b2ec824b0591bf7c680ab082ba59894d958ba5e (diff)
downloadaur-415097f9bd8b7f1cf67fbb412af4fbfdc452889d.tar.gz
fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f4aeb2a3690..98540674177 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
_pkgbase=zsh
-pkgname=('zsh-minimal-git')
+pkgname=('zsh-minimal-git' 'zsh-doc-minimal-git')
pkgver=5.2.r502.ge35dcae
pkgrel=1
arch=('i686' 'x86_64')
@@ -61,7 +61,7 @@ build() {
--enable-zlogout=/etc/zsh/zlogout \
--enable-zprofile=/etc/zsh/zprofile \
--enable-zshrc=/etc/zsh/zshrc \
- --enable-maildir-support \
+ --disable-maildir-support \
--with-term-lib='ncursesw' \
--enable-multibyte \
--enable-function-subdirs \
@@ -99,3 +99,13 @@ package_zsh-minimal-git() {
install -D -m644 "${srcdir}/zprofile" "${pkgdir}/etc/zsh/zprofile"
install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+
+package_zsh-doc-minimal-git() {
+ pkgdesc='Info, HTML and PDF format of the ZSH documentation'
+ conflicts=('zsh-doc')
+ provides=('zsh-doc')
+
+ cd "${srcdir}/${_pkgbase}"
+ make DESTDIR="${pkgdir}/" install.info install.html
+ install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}