Files

27 lines
805 B
Bash
Raw Permalink Normal View History

2024-12-26 18:34:05 +02:00
# Maintainer: Itamar ion606@protonmail.com
2024-12-26 18:14:20 +02:00
pkgname=ion-terminal-config
pkgver=1.0
pkgrel=1
pkgdesc="A custom terminal configuration with Alacritty, Starship, and Fish!"
arch=('any')
2024-12-26 18:14:52 +02:00
url="https://github.com/ION606/fish-config"
2024-12-26 18:14:20 +02:00
license=('MIT')
depends=('alacritty' 'starship' 'fish' 'glow')
2024-12-26 18:34:05 +02:00
source=('install.sh' 'terminal.tar.gz')
2024-12-26 18:14:20 +02:00
sha256sums=('SKIP' 'SKIP')
2024-12-26 18:34:05 +02:00
prepare() {
# Extract the terminal.tar.gz archive
tar -xzf terminal.tar.gz
}
2024-12-26 18:14:20 +02:00
package() {
2024-12-26 18:34:05 +02:00
# Install the system-wide configurations if needed (optional)
2024-12-26 18:14:20 +02:00
install -Dm644 terminal/alacritty.toml "$pkgdir/etc/terminal/alacritty.toml"
install -Dm644 terminal/starship.toml "$pkgdir/etc/terminal/starship.toml"
2024-12-26 18:34:05 +02:00
# Provide a user-specific installation script
2024-12-26 18:14:20 +02:00
install -Dm755 install.sh "$pkgdir/usr/bin/apply-terminal-config"
}