mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
✨ feat: initial AUR package submission (v1.0.0)
This commit is contained in:
commit
d92ebd0aca
3 changed files with 155 additions and 0 deletions
39
.SRCINFO
Normal file
39
.SRCINFO
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
pkgbase = extreme-ultimate-bashrc
|
||||
pkgdesc = A comprehensive 11,000+ line bash configuration framework with 107 functions and 113 aliases
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://sourceforge.net/projects/ultimate-bashrc/
|
||||
install = extreme-ultimate-bashrc.install
|
||||
arch = any
|
||||
license = 0BSD
|
||||
depends = bash
|
||||
optdepends = bat: syntax-highlighted file previews
|
||||
optdepends = btm: system resource monitor
|
||||
optdepends = colordiff: colorized diff output
|
||||
optdepends = delta: modern diff viewer with syntax highlighting
|
||||
optdepends = diff-so-fancy: human-readable diffs
|
||||
optdepends = difftastic: structural syntax-aware diffs
|
||||
optdepends = eza: modern ls replacement with colors and icons
|
||||
optdepends = fastfetch: fast system information display
|
||||
optdepends = fd: fast alternative to find
|
||||
optdepends = ffmpeg: multimedia framework for audio and video
|
||||
optdepends = fzf: fuzzy finder integration
|
||||
optdepends = grc: generic command output colorizer
|
||||
optdepends = git: version control integration
|
||||
optdepends = imagemagick: image processing and conversion
|
||||
optdepends = jq: JSON processor
|
||||
optdepends = lazygit: terminal UI for git
|
||||
optdepends = lsd: ls with colors and icons
|
||||
optdepends = meld: graphical diff and merge tool
|
||||
optdepends = neofetch: system information display with ASCII art
|
||||
optdepends = ranger: terminal file manager
|
||||
optdepends = ripgrep: fast recursive search tool
|
||||
optdepends = starship: cross-shell prompt
|
||||
optdepends = tmux: terminal multiplexer
|
||||
optdepends = trash-cli: command-line trash utility
|
||||
optdepends = yt-dlp: video downloader
|
||||
optdepends = zoxide: smart directory jumping
|
||||
source = extreme-ultimate-bashrc-1.0.0.tar.gz::https://sourceforge.net/projects/ultimate-bashrc/files/aur/extreme-ultimate-bashrc-1.0.0.tar.gz/download
|
||||
sha256sums = fd4b7b5aba710e900c5c81c96193045b8b814477e9fff96241ecb3861b212554
|
||||
|
||||
pkgname = extreme-ultimate-bashrc
|
||||
85
PKGBUILD
Normal file
85
PKGBUILD
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
# Maintainer: Jeff <your@email.com>
|
||||
# https://sourceforge.net/projects/ultimate-bashrc/
|
||||
pkgname=extreme-ultimate-bashrc
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='A comprehensive 11,000+ line bash configuration framework with 107 functions and 113 aliases'
|
||||
arch=('any')
|
||||
url='https://sourceforge.net/projects/ultimate-bashrc/'
|
||||
license=('0BSD')
|
||||
depends=('bash')
|
||||
optdepends=(
|
||||
'bat: syntax-highlighted file previews'
|
||||
'btm: system resource monitor'
|
||||
'colordiff: colorized diff output'
|
||||
'delta: modern diff viewer with syntax highlighting'
|
||||
'diff-so-fancy: human-readable diffs'
|
||||
'difftastic: structural syntax-aware diffs'
|
||||
'eza: modern ls replacement with colors and icons'
|
||||
'fastfetch: fast system information display'
|
||||
'fd: fast alternative to find'
|
||||
'ffmpeg: multimedia framework for audio and video'
|
||||
'fzf: fuzzy finder integration'
|
||||
'grc: generic command output colorizer'
|
||||
'git: version control integration'
|
||||
'imagemagick: image processing and conversion'
|
||||
'jq: JSON processor'
|
||||
'lazygit: terminal UI for git'
|
||||
'lsd: ls with colors and icons'
|
||||
'meld: graphical diff and merge tool'
|
||||
'neofetch: system information display with ASCII art'
|
||||
'ranger: terminal file manager'
|
||||
'ripgrep: fast recursive search tool'
|
||||
'starship: cross-shell prompt'
|
||||
'tmux: terminal multiplexer'
|
||||
'trash-cli: command-line trash utility'
|
||||
'yt-dlp: video downloader'
|
||||
'zoxide: smart directory jumping'
|
||||
)
|
||||
install="${pkgname}.install"
|
||||
|
||||
# SourceForge release tarball
|
||||
# For local testing: run make-test-tarball.sh first, then makepkg -si
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://sourceforge.net/projects/ultimate-bashrc/files/aur/${pkgname}-${pkgver}.tar.gz/download")
|
||||
sha256sums=('fd4b7b5aba710e900c5c81c96193045b8b814477e9fff96241ecb3861b212554')
|
||||
|
||||
package() {
|
||||
local INSTALL_ROOT="${pkgdir}/opt/${pkgname}"
|
||||
|
||||
# Create directories
|
||||
install -dm755 "${INSTALL_ROOT}"
|
||||
install -dm755 "${INSTALL_ROOT}/bashrc.d"
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
|
||||
# Install main bashrc (readable and sourceable by all users)
|
||||
install -Dm644 "${srcdir}/.bashrc" "${INSTALL_ROOT}/.bashrc"
|
||||
|
||||
# Install supporting files
|
||||
install -Dm644 "${srcdir}/help" "${INSTALL_ROOT}/help"
|
||||
install -Dm644 "${srcdir}/README.md" "${INSTALL_ROOT}/README.md"
|
||||
install -Dm644 "${srcdir}/README.html" "${INSTALL_ROOT}/README.html"
|
||||
install -Dm644 "${srcdir}/trueline.sh" "${INSTALL_ROOT}/trueline.sh"
|
||||
install -Dm644 "${srcdir}/prompt" "${INSTALL_ROOT}/prompt"
|
||||
|
||||
# Install safe starter templates
|
||||
install -Dm644 "${srcdir}/config.safe" "${INSTALL_ROOT}/config.safe"
|
||||
install -Dm644 "${srcdir}/aliases.safe" "${INSTALL_ROOT}/aliases.safe"
|
||||
|
||||
# Install full reference examples
|
||||
install -Dm644 "${srcdir}/config.example" "${INSTALL_ROOT}/config.example"
|
||||
install -Dm644 "${srcdir}/aliases.example" "${INSTALL_ROOT}/aliases.example"
|
||||
|
||||
# Install the interactive setup script
|
||||
install -Dm755 "${srcdir}/install.sh" "${INSTALL_ROOT}/install.sh"
|
||||
|
||||
# Install bashrc.d auto-loaded scripts
|
||||
if compgen -G "${srcdir}/bashrc.d/*" > /dev/null; then
|
||||
for FILE in "${srcdir}"/bashrc.d/*; do
|
||||
[[ -f "${FILE}" ]] && install -Dm644 "${FILE}" \
|
||||
"${INSTALL_ROOT}/bashrc.d/$(basename "${FILE}")"
|
||||
done
|
||||
fi
|
||||
|
||||
# Install the setup-bashrc wrapper to /usr/bin/
|
||||
install -Dm755 "${srcdir}/setup-bashrc" "${pkgdir}/usr/bin/setup-bashrc"
|
||||
}
|
||||
31
extreme-ultimate-bashrc.install
Normal file
31
extreme-ultimate-bashrc.install
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
post_install() {
|
||||
echo ""
|
||||
echo " Extreme Ultimate .bashrc has been installed."
|
||||
echo ""
|
||||
echo " To set up, run:"
|
||||
echo " setup-bashrc"
|
||||
echo ""
|
||||
echo " Or: bash /opt/extreme-ultimate-bashrc/install.sh"
|
||||
echo ""
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo ""
|
||||
echo " Extreme Ultimate .bashrc has been updated."
|
||||
echo " Changes take effect in your next terminal session."
|
||||
echo ""
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
echo ""
|
||||
echo " Extreme Ultimate .bashrc is being removed."
|
||||
echo ""
|
||||
echo " Your ~/.bashrc is a thin wrapper that sources from /opt/."
|
||||
echo " After removal it will fail to load. To restore your original:"
|
||||
echo ""
|
||||
echo " ls ~/.bashrc.backup.*"
|
||||
echo " mv ~/.bashrc.backup.YYYYMMDD ~/.bashrc"
|
||||
echo ""
|
||||
echo " Or simply delete ~/.bashrc and create a new one."
|
||||
echo ""
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue