blob: c1ea6046985e9ffb9bc968d488fc33c52bce1743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Daniel Buch Hansen (dbuch) <boogiewasthere@gmail.com>
pkgname=dbuch-zsh-config
pkgver=0.1.5
pkgrel=1
pkgdesc="dbuch zsh configuration"
url="https://github.com/dbuch/"
arch=(x86_64)
license=(GPL)
depends=('zsh>=5.3' 'ripgrep' 'bat' 'skim' 'ttf-ionicons' 'inetutils')
makedepends=(git)
_commit=48aca545a5e6c643a2bb4ffd7716ef819b9a26a6 # tag v0.1.5
source=("git+https://github.com/dbuch/dbuch-zsh-config.git#commit=$_commit")
conflicts=('grml-zsh-config')
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd $pkgname
git submodule init
git config --local submodule.subprojects/zsh-async.url "$srcdir/zsh-async"
git submodule update
}
package() {
cd ${srcdir}/${pkgname}
install -D -m644 zshrc.skel \
${pkgdir}/etc/skel/zshrc
install -D -m644 zshrc \
${pkgdir}/etc/zsh/zshrc
install -D -m644 zsh-async/async.zsh \
${pkgdir}/usr/share/zsh/functions/Async/async
install -D -m644 dbuch-prompt.zsh \
${pkgdir}/usr/share/zsh/functions/Prompts/prompt_dbuch_setup
}
# vim:set sw=2 et:
|