From d92ebd0aca32961196e055e8127803ec08d9e569 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Sat, 14 Feb 2026 23:01:58 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20initial=20AUR=20package=20s?= =?UTF-8?q?ubmission=20(v1.0.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .SRCINFO | 39 +++++++++++++++ PKGBUILD | 85 +++++++++++++++++++++++++++++++++ extreme-ultimate-bashrc.install | 31 ++++++++++++ 3 files changed, 155 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 extreme-ultimate-bashrc.install diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..d3cf5cbd02d70 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..1390146209572 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,85 @@ +# Maintainer: Jeff +# 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" +} diff --git a/extreme-ultimate-bashrc.install b/extreme-ultimate-bashrc.install new file mode 100644 index 0000000000000..af5ad2b84f05e --- /dev/null +++ b/extreme-ultimate-bashrc.install @@ -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 "" +}