blob: fcf01b73914cbeaeed8d6e5963488daccc7f53b2 (
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
|
# Maintainer: mfw <espadonne@outlook.com>
pkgname=shtick
pkgver=1.1.0
pkgrel=1
pkgdesc='Shell configuration manager with auto-sourcing support for 16 different shells'
arch=('x86_64')
url='https://github.com/tenseleyFlow/shtickC'
license=('MIT')
depends=('bash')
makedepends=('gcc' 'make')
optdepends=('zsh: for zsh configuration support'
'fish: for fish configuration support'
'dash: for dash configuration support'
'tcsh: for tcsh configuration support'
'nushell: for nu configuration support'
'xonsh: for xonsh configuration support'
'elvish: for elvish configuration support')
install=$pkgname.install
source=("git+https://github.com/tenseleyFlow/shtickC.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd shtickC
make clean
make all
}
check() {
cd shtickC
make smoke-test || true # Allow tests to fail gracefully if they require specific shell environments
}
package() {
cd shtickC
# Install main binary
install -Dm755 shtick "$pkgdir/usr/bin/shtick"
# Install setup script
install -Dm755 setup.sh "$pkgdir/usr/share/$pkgname/setup.sh"
# Install documentation
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 CLAUDE.md "$pkgdir/usr/share/doc/$pkgname/CLAUDE.md"
}
|