32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=grml-zsh-config
|
|
pkgver=0.19.7
|
|
pkgrel=1
|
|
pkgdesc="grml's zsh setup"
|
|
arch=('any')
|
|
url='https://grml.org/zsh/'
|
|
license=('GPL-2')
|
|
provides=('grmlzshrc')
|
|
depends=('zsh' 'coreutils' 'grep' 'sed' 'procps-ng')
|
|
makedepends=('python-setuptools' 'txt2tags')
|
|
source=("https://deb.grml.org/pool/main/g/grml-etc-core/grml-etc-core_${pkgver}.tar.gz")
|
|
sha512sums=('44db9f07409beef745cf2e948ae2e7fc9fa8b45d0f9417f7f73a5e1549b94a129fed47b375d6001b29bdd776b5063684cfb3ed8f666a2f103e28da8339c4c244')
|
|
|
|
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"
|
|
ln -sf grmlzshrc.5.gz "${pkgdir}/usr/share/man/man5/grml-zsh-config.5.gz"
|
|
|
|
install -Dm644 debian/copyright -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|