2025-01-24 14:33:02 +01:00

33 lines
1.1 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Maintainer: Norbert Pfeiler <norbert.pfeiler+aur ät gmail.com>
pkgname=grml-zsh-config
pkgver=0.19.13
pkgrel=1
pkgdesc="grml's zsh setup"
arch=('any')
url='https://grml.org/zsh/'
license=('GPL2')
provides=('grmlzshrc')
depends=('zsh' 'coreutils' 'grep' 'sed' 'procps-ng')
makedepends=('txt2tags')
source=("http://deb.grml.org/pool/main/g/grml-etc-core/grml-etc-core_${pkgver}.tar.xz")
sha256sums=('51cc87bb2f9dae2ebe063fb357947de51629cecc9e213dd55ac03cc1c9079e60')
build() {
cd ${srcdir}/grml-etc-core-${pkgver}/doc
make
}
package() {
cd ${srcdir}/grml-etc-core-${pkgver}
install -D -m644 etc/skel/.zshrc ${pkgdir}/etc/skel/.zshrc
install -D -m644 etc/zsh/keephack ${pkgdir}/etc/zsh/keephack
install -D -m644 etc/zsh/zshrc ${pkgdir}/etc/zsh/zshrc
install -D -m644 doc/grmlzshrc.5 ${pkgdir}/usr/share/man/man5/grmlzshrc.5
# the symlinking from the original pkg doesnt work
# because the target doesnt exist yet (manpage compression)
# and msys2s symlink simply copies
install -D -m644 doc/grmlzshrc.5 ${pkgdir}/usr/share/man/man5/grml-zsh-config.5
}