diff --git a/.github/workflows/unpublish.yml b/.github/workflows/unpublish.yml new file mode 100644 index 0000000..2f9a6d2 --- /dev/null +++ b/.github/workflows/unpublish.yml @@ -0,0 +1,79 @@ +name: Unpublish retired packages + +# Takes packages out of the channel databases after their recipes are gone +# from master. Deleting a recipe stops it building; this stops pacman +# offering it. Files stay in the bucket (see bin/unpublish-packages). +# +# Only packages with no recipe on master: one that still has a recipe would +# come back on its next publish, and refusing it keeps a typo from pulling a +# live package out of every channel. + +on: + workflow_dispatch: + inputs: + packages: + description: "Space-separated pkgbases whose recipes were removed from master" + required: true + channels: + description: "Channels to remove them from" + required: true + default: "edge rc stable" + +jobs: + unpublish: + runs-on: ubuntu-latest + environment: publish + timeout-minutes: 15 + # The publish job's group: one writer per channel database at a time. + concurrency: + group: publish + cancel-in-progress: false + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Refuse packages that still have a recipe + env: + PACKAGES: ${{ github.event.inputs.packages }} + CHANNELS: ${{ github.event.inputs.channels }} + run: | + set -euo pipefail + for c in $CHANNELS; do + [[ $c == edge || $c == rc || $c == stable ]] || { echo "::error::Unknown channel: $c"; exit 1; } + done + for p in $PACKAGES; do + [[ $p =~ ^[a-z0-9@._+-]+$ ]] || { echo "::error::Not a package name: $p"; exit 1; } + if [[ -e pkgbuilds/$p ]]; then + echo "::error::pkgbuilds/$p still exists on master; remove the recipe first" + exit 1 + fi + done + + - name: Unpublish + env: + PACKAGES: ${{ github.event.inputs.packages }} + CHANNELS: ${{ github.event.inputs.channels }} + RCLONE_CONFIG_R2_TYPE: s3 + RCLONE_CONFIG_R2_PROVIDER: Cloudflare + RCLONE_CONFIG_R2_NO_CHECK_BUCKET: "true" + RCLONE_CONFIG_R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} + RCLONE_CONFIG_R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }} + RCLONE_CONFIG_R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }} + OMARCHY_PUBLISH_PREFIX: ${{ vars.OMARCHY_PUBLISH_PREFIX }} + run: | + set -euo pipefail + # repo-remove and bsdtar are Arch tools: run in the tested builder + # image, as the publish job does. + builder=ghcr.io/omacom/omarchy-pkg-builder:$(bin/builder-image key --arch x86_64 --mirror edge) + docker pull --quiet "$builder" + for mirror in $CHANNELS; do + for arch in x86_64 aarch64; do + docker run --rm \ + -e OMARCHY_PUBLISH_PREFIX \ + -e RCLONE_CONFIG_R2_TYPE -e RCLONE_CONFIG_R2_PROVIDER -e RCLONE_CONFIG_R2_ENDPOINT -e RCLONE_CONFIG_R2_NO_CHECK_BUCKET \ + -e RCLONE_CONFIG_R2_ACCESS_KEY_ID -e RCLONE_CONFIG_R2_SECRET_ACCESS_KEY \ + -v "$PWD:/w:ro" -w /w "$builder" \ + bin/unpublish-packages --remote R2:omarchy-pkgs --mirror "$mirror" --arch "$arch" $PACKAGES + done + done diff --git a/README.md b/README.md index 3e75b77..46ec160 100644 --- a/README.md +++ b/README.md @@ -565,12 +565,26 @@ bin/repo deploy # Build locally, then publish from the host bin/repo push # Upload local builds to the host and publish bin/add-package # Add an Omarchy-owned package with metadata bin/package-worktree # Inspect historical AUR provenance in a scratch workspace -bin/repo remove # Remove package +bin/repo remove # Remove package (host workflow; CI uses unpublish.yml) bin/sync-upstream # Update packages that track a vendor release feed bin/sync-rebuilds # Bump pkgrel for packages whose dependencies moved bin/clean-docker # Clear Docker images/cache (forces fresh rebuild) ``` +### Retiring a package + +Delete its recipe directory in a PR. Once that merges, take it out of the +channel databases with the **Unpublish retired packages** workflow: + +``` +gh workflow run unpublish.yml -f packages=" ..." -f channels="edge rc stable" +``` + +It removes every entry built from those pkgbases (split outputs and `-debug` +included) from both architectures' databases, and refuses any package that +still has a recipe on master. Package files stay in the bucket: published +filenames are immutable, and nothing references them once the entries are gone. + ### Package Metadata Tools ```bash diff --git a/bin/build b/bin/build index 765e071..41e8867 100755 --- a/bin/build +++ b/bin/build @@ -86,7 +86,7 @@ while [[ $# -gt 0 ]]; do echo " $0 --arch aarch64" echo " $0 --mirror stable" echo " $0 --package yay" - echo " $0 --package yay elephant cursor-bin" + echo " $0 --package yay walker cursor-bin" echo "" echo "Environment (for CI and resumed builds; defaults keep today's behaviour):" echo " OMARCHY_KEEP_BUILD_WORKSPACE=1 keep build-output and reuse packages already there" diff --git a/bin/unpublish-packages b/bin/unpublish-packages new file mode 100755 index 0000000..e5c3313 --- /dev/null +++ b/bin/unpublish-packages @@ -0,0 +1,80 @@ +#!/bin/bash +# Retire packages from one channel of the remote repository. +# +# unpublish-packages --mirror --arch +# +# The counterpart of publish-artifact, with the same steps: +# 1. pull the channel's current database from the remote +# 2. find every entry built from the named pkgbases (so a package's split +# outputs and -debug go with it) +# 3. repo-remove them +# 4. upload the database +# +# Package files stay in the bucket. Published filenames are immutable and the +# R2 cache cannot recover from a rewrite; an unreferenced file costs nothing +# and pacman never sees it. Naming a package the channel does not hold is not +# an error, so a re-run is harmless. +# +# The remote is an rclone remote (REMOTE, default the production one); +# OMARCHY_PUBLISH_PREFIX can point a proof run at a scratch prefix. +set -euo pipefail +BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..") +source "$BUILD_ROOT/helpers/message-helpers.sh" +source "$BUILD_ROOT/helpers/paths.sh" + +REMOTE=${REMOTE:-pkgs.omarchy.org:omarchy-pkgs} +PREFIX=${OMARCHY_PUBLISH_PREFIX:-} +BASES=() +while [[ $# -gt 0 ]]; do + case $1 in + --mirror) MIRROR=$2; require_valid_mirror "$MIRROR"; shift 2 ;; + --arch) ARCH=$2; require_valid_arch "$ARCH"; shift 2 ;; + --remote) REMOTE=$2; shift 2 ;; + -h|--help) sed -n '2,19p' "$0"; exit 0 ;; + -*) print_error "Unknown option: $1"; exit 1 ;; + *) BASES+=("$1"); shift ;; + esac +done +(( ${#BASES[@]} )) || { print_error "No packages given"; exit 1; } + +DEST="$REMOTE/${PREFIX:+$PREFIX/}$MIRROR/$ARCH" +WORK=$(mktemp -d) +trap 'rm -rf "$WORK"' EXIT +print_header "Unpublish from $DEST" + +# --- 1. pull the current database ----------------------------------------- +mkdir -p "$WORK/repo" +listing=$(rclone lsf "$DEST/" --s3-no-head 2>/dev/null || true) +if ! grep -q '^omarchy.db.tar.zst$' <<<"$listing"; then + print_info "No database at $DEST; nothing to remove" + exit 0 +fi +rclone copy "$DEST/omarchy.db.tar.zst" "$WORK/repo" --s3-no-head +rclone copy "$DEST/omarchy.files.tar.zst" "$WORK/repo" --s3-no-head 2>/dev/null || true +before=$(tar -tf "$WORK/repo/omarchy.db.tar.zst" | grep -c '/$') +print_info "Pulled current database ($before entries)" + +# --- 2. entries built from the named pkgbases ----------------------------- +names=$(bsdtar -xOf "$WORK/repo/omarchy.db.tar.zst" --include '*/desc' | + awk -v bases=" ${BASES[*]} " ' + /^%NAME%$/ { getline name } + /^%BASE%$/ { getline base; if (index(bases, " " base " ")) print name }') +if [[ -z "$names" ]]; then + print_info "None of ${BASES[*]} is in $MIRROR/$ARCH; nothing to remove" + exit 0 +fi +mapfile -t NAMES <<<"$names" +for n in "${NAMES[@]}"; do print_step "removing $n"; done + +# --- 3. repo-remove --------------------------------------------------------- +( cd "$WORK/repo" && repo-remove --quiet omarchy.db.tar.zst "${NAMES[@]}" ) +ln -sf omarchy.db.tar.zst "$WORK/repo/omarchy.db" +ln -sf omarchy.files.tar.zst "$WORK/repo/omarchy.files" +after=$(tar -tf "$WORK/repo/omarchy.db.tar.zst" | grep -c '/$') +(( before - after == ${#NAMES[@]} )) || { + print_error "Expected to remove ${#NAMES[@]} entries, removed $((before - after))"; exit 1; } +print_info "Database now has $after entries" + +# --- 4. upload the database ------------------------------------------------- +rclone copy "$WORK/repo" "$DEST" --s3-no-head --checksum --copy-links --filter '+ omarchy.db*' --filter '+ omarchy.files*' --filter '- *' +print_success "Removed ${#NAMES[@]} package(s) from $DEST" diff --git a/docs/upstream-sources.md b/docs/upstream-sources.md index eb9d220..2971cb9 100644 --- a/docs/upstream-sources.md +++ b/docs/upstream-sources.md @@ -161,21 +161,6 @@ in `origin` and has no effect on release selection. | `dbxcli-bin` | github | [dropbox/dbxcli](https://github.com/dropbox/dbxcli) | | `dropbox` | redirect | [https://www.dropbox.com/download?plat=lnx.x86_64](https://www.dropbox.com/download?plat=lnx.x86_64) | | `dropbox-cli` | regex | [https://linux.dropbox.com/packages/](https://linux.dropbox.com/packages/) | -| `elephant` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-all` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-archlinuxpkgs` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-bluetooth` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-calc` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-clipboard` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-desktopapplications` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-files` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-menus` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-providerlist` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-runner` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-symbols` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-todo` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-unicode` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | -| `elephant-websearch` | github | [abenz1267/elephant](https://github.com/abenz1267/elephant) | | `heroic-games-launcher-bin` | github | [Heroic-Games-Launcher/HeroicGamesLauncher](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher) | | `hyprshade` | pypi | [hyprshade](https://pypi.org/project/hyprshade/) | | `lib32-nvidia-580xx-utils` | regex | [https://download.nvidia.com/XFree86/Linux-x86_64/](https://download.nvidia.com/XFree86/Linux-x86_64/) | diff --git a/pkgbuilds/elephant-all/.omarchy/package.json b/pkgbuilds/elephant-all/.omarchy/package.json deleted file mode 100644 index 0b3c0a1..0000000 --- a/pkgbuilds/elephant-all/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-all", - "commit": "5614a0a61616643e448fb7c68d58237715ce2739" - } -} diff --git a/pkgbuilds/elephant-all/PKGBUILD b/pkgbuilds/elephant-all/PKGBUILD deleted file mode 100644 index e90e57c..0000000 --- a/pkgbuilds/elephant-all/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-all -pkgver=2.22.1 -pkgrel=2 -pkgdesc='elephant + all official elephant providers' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -depends=('libqalculate' 'wl-clipboard' 'imagemagick' 'fd' 'wtype' 'jq' 'sqlite3') -makedepends=('go') -conflicts=('elephant' 'elephant-playerctl' 'elephant-wireplumber' 'elephant-bitwarden' 'elephant-dnfpackages' 'elephant-1password' 'elephant-bookmarks' 'elephant-nirisessions' 'elephant-niriactions' 'elephant-archlinuxpkgs' 'elephant-bluetooth' 'elephant-calc' 'elephant-clipboard' 'elephant-desktopapplications' 'elephant-files' 'elephant-menus' 'elephant-providerlist' 'elephant-runner' 'elephant-snippets' 'elephant-symbols' 'elephant-todo' 'elephant-unicode' 'elephant-websearch' 'elephant-windows') -provides=('elephant' 'elephant-playerctl' 'elephant-wireplumber' 'elephant-nirisessions' 'elephant-niriactions' 'elephant-archlinuxpkgs' 'elephant-bluetooth' 'elephant-calc' 'elephant-clipboard' 'elephant-desktopapplications' 'elephant-files' 'elephant-menus' 'elephant-providerlist' 'elephant-runner' 'elephant-snippets' 'elephant-symbols' 'elephant-todo' 'elephant-unicode' 'elephant-websearch' 'elephant-windows') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - # Build main elephant binary - cd elephant-${pkgver}/cmd/elephant - go build -ldflags="-s -w" -buildvcs=false -x -o elephant -trimpath - - # Build all provider plugins - cd ../../internal/providers - - # Build each provider - for provider in playerctl wireplumber archlinuxpkgs bitwarden dnfpackages 1password bookmarks bluetooth nirisessions niriactions calc clipboard desktopapplications files menus providerlist runner snippets symbols todo unicode websearch windows; do - cd $provider - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath - cd .. - done -} - -package() { - # Install main elephant binary - cd elephant-${pkgver}/cmd/elephant - install -Dm 755 elephant -t "${pkgdir}/usr/bin" - - # Install all provider plugins - cd ../../internal/providers - for provider in playerctl wireplumber archlinuxpkgs bitwarden dnfpackages bookmarks 1password nirisessions niriactions bluetooth calc clipboard desktopapplications files menus providerlist runner snippets symbols todo unicode websearch windows; do - install -Dm 755 $provider/$provider.so -t "${pkgdir}/usr/lib/elephant" - done - - # Install license - cd ../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-archlinuxpkgs/.omarchy/package.json b/pkgbuilds/elephant-archlinuxpkgs/.omarchy/package.json deleted file mode 100644 index a020358..0000000 --- a/pkgbuilds/elephant-archlinuxpkgs/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-archlinuxpkgs", - "commit": "659b81f1aa74a13fd2ebec222e19da2046d8e977" - } -} diff --git a/pkgbuilds/elephant-archlinuxpkgs/PKGBUILD b/pkgbuilds/elephant-archlinuxpkgs/PKGBUILD deleted file mode 100644 index 3916f18..0000000 --- a/pkgbuilds/elephant-archlinuxpkgs/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-archlinuxpkgs -pkgver=2.22.1 -pkgrel=1 -pkgdesc='archlinuxpkgs provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-archlinuxpkgs') -provides=('elephant-archlinuxpkgs') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/archlinuxpkgs - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/archlinuxpkgs - install -Dm 755 archlinuxpkgs.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-bluetooth/.omarchy/package.json b/pkgbuilds/elephant-bluetooth/.omarchy/package.json deleted file mode 100644 index d08f83f..0000000 --- a/pkgbuilds/elephant-bluetooth/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-bluetooth", - "commit": "42d9dd5424884c51b8fe6bf7692caf0a31007f05" - } -} diff --git a/pkgbuilds/elephant-bluetooth/PKGBUILD b/pkgbuilds/elephant-bluetooth/PKGBUILD deleted file mode 100644 index fb95e9f..0000000 --- a/pkgbuilds/elephant-bluetooth/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-bluetooth -pkgver=2.22.1 -pkgrel=2 -pkgdesc='bluetooth provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-bluetooth') -provides=('elephant-bluetooth') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/bluetooth - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/bluetooth - install -Dm 755 bluetooth.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-calc/.omarchy/package.json b/pkgbuilds/elephant-calc/.omarchy/package.json deleted file mode 100644 index 94f4a46..0000000 --- a/pkgbuilds/elephant-calc/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-calc", - "commit": "84aba9e90bbd65af45f83168cd6c7bce6ec4322e" - } -} diff --git a/pkgbuilds/elephant-calc/PKGBUILD b/pkgbuilds/elephant-calc/PKGBUILD deleted file mode 100644 index d705d33..0000000 --- a/pkgbuilds/elephant-calc/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-calc -pkgver=2.22.1 -pkgrel=2 -pkgdesc='calc provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -depends=('libqalculate') -makedepends=('go') -conflicts=('elephant-calc') -provides=('elephant-calc') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/calc - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/calc - install -Dm 755 calc.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-clipboard/.omarchy/package.json b/pkgbuilds/elephant-clipboard/.omarchy/package.json deleted file mode 100644 index 1634055..0000000 --- a/pkgbuilds/elephant-clipboard/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-clipboard", - "commit": "3176f9de1445e7115009383f9cdac116729fc7be" - } -} diff --git a/pkgbuilds/elephant-clipboard/PKGBUILD b/pkgbuilds/elephant-clipboard/PKGBUILD deleted file mode 100644 index bd55506..0000000 --- a/pkgbuilds/elephant-clipboard/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-clipboard -pkgver=2.22.1 -pkgrel=2 -pkgdesc='clipboard provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -depends=('wl-clipboard' 'imagemagick') -makedepends=('go') -conflicts=('elephant-clipboard') -provides=('elephant-clipboard') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/clipboard - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/clipboard - install -Dm 755 clipboard.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-desktopapplications/.omarchy/package.json b/pkgbuilds/elephant-desktopapplications/.omarchy/package.json deleted file mode 100644 index e83c756..0000000 --- a/pkgbuilds/elephant-desktopapplications/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-desktopapplications", - "commit": "c30e33db5fef912dec9aa157773b10ffab1e0307" - } -} diff --git a/pkgbuilds/elephant-desktopapplications/PKGBUILD b/pkgbuilds/elephant-desktopapplications/PKGBUILD deleted file mode 100644 index 17d1d59..0000000 --- a/pkgbuilds/elephant-desktopapplications/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-desktopapplications -pkgver=2.22.1 -pkgrel=2 -pkgdesc='desktopapplications provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-desktopapplications') -provides=('elephant-desktopapplications') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/desktopapplications - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/desktopapplications - install -Dm 755 desktopapplications.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-files/.omarchy/package.json b/pkgbuilds/elephant-files/.omarchy/package.json deleted file mode 100644 index b7f4bb9..0000000 --- a/pkgbuilds/elephant-files/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-files", - "commit": "2d16502b7a905e7d7a03e0026c5519c3b3c4abf2" - } -} diff --git a/pkgbuilds/elephant-files/PKGBUILD b/pkgbuilds/elephant-files/PKGBUILD deleted file mode 100644 index 35e2572..0000000 --- a/pkgbuilds/elephant-files/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-files -pkgver=2.22.1 -pkgrel=2 -pkgdesc='files provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -depends=('fd') -makedepends=('go') -conflicts=('elephant-files') -provides=('elephant-files') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/files - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/files - install -Dm 755 files.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-menus/.omarchy/package.json b/pkgbuilds/elephant-menus/.omarchy/package.json deleted file mode 100644 index 81b6353..0000000 --- a/pkgbuilds/elephant-menus/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-menus", - "commit": "5ab583fee6ba3e387d49ffe4e409bb84bc60ea24" - } -} diff --git a/pkgbuilds/elephant-menus/PKGBUILD b/pkgbuilds/elephant-menus/PKGBUILD deleted file mode 100644 index 271e17b..0000000 --- a/pkgbuilds/elephant-menus/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-menus -pkgver=2.22.1 -pkgrel=2 -pkgdesc='menus provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-menus') -provides=('elephant-menus') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/menus - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/menus - install -Dm 755 menus.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-providerlist/.omarchy/package.json b/pkgbuilds/elephant-providerlist/.omarchy/package.json deleted file mode 100644 index 5646aba..0000000 --- a/pkgbuilds/elephant-providerlist/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-providerlist", - "commit": "1d756a138e926a81b9d33265f0197b8661168845" - } -} diff --git a/pkgbuilds/elephant-providerlist/PKGBUILD b/pkgbuilds/elephant-providerlist/PKGBUILD deleted file mode 100644 index 21afcd3..0000000 --- a/pkgbuilds/elephant-providerlist/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-providerlist -pkgver=2.22.1 -pkgrel=2 -pkgdesc='providerlist provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-providerlist') -provides=('elephant-providerlist') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/providerlist - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/providerlist - install -Dm 755 providerlist.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-runner/.omarchy/package.json b/pkgbuilds/elephant-runner/.omarchy/package.json deleted file mode 100644 index f8d45c4..0000000 --- a/pkgbuilds/elephant-runner/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-runner", - "commit": "e47641530d912199372204cf8780ef37f99f0b37" - } -} diff --git a/pkgbuilds/elephant-runner/PKGBUILD b/pkgbuilds/elephant-runner/PKGBUILD deleted file mode 100644 index a74fa05..0000000 --- a/pkgbuilds/elephant-runner/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-runner -pkgver=2.22.1 -pkgrel=2 -pkgdesc='runner provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-runner') -provides=('elephant-runner') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/runner - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/runner - install -Dm 755 runner.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-symbols/.omarchy/package.json b/pkgbuilds/elephant-symbols/.omarchy/package.json deleted file mode 100644 index 2b2eeec..0000000 --- a/pkgbuilds/elephant-symbols/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-symbols", - "commit": "32263e8b71390ab38b8aa1fd82fc2595b41a5157" - } -} diff --git a/pkgbuilds/elephant-symbols/PKGBUILD b/pkgbuilds/elephant-symbols/PKGBUILD deleted file mode 100644 index 275478d..0000000 --- a/pkgbuilds/elephant-symbols/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-symbols -pkgver=2.22.1 -pkgrel=2 -pkgdesc='symbols provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-symbols') -provides=('elephant-symbols') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/symbols - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/symbols - install -Dm 755 symbols.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-todo/.omarchy/package.json b/pkgbuilds/elephant-todo/.omarchy/package.json deleted file mode 100644 index 4a63e04..0000000 --- a/pkgbuilds/elephant-todo/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-todo", - "commit": "447978df5ea3afd1e10959d7973c0b35367724c3" - } -} diff --git a/pkgbuilds/elephant-todo/PKGBUILD b/pkgbuilds/elephant-todo/PKGBUILD deleted file mode 100644 index fc94027..0000000 --- a/pkgbuilds/elephant-todo/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-todo -pkgver=2.22.1 -pkgrel=2 -pkgdesc='todo provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-todo') -provides=('elephant-todo') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/todo - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/todo - install -Dm 755 todo.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-unicode/.omarchy/package.json b/pkgbuilds/elephant-unicode/.omarchy/package.json deleted file mode 100644 index 8b9efa1..0000000 --- a/pkgbuilds/elephant-unicode/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-unicode", - "commit": "23222b0d304a234c74f630c5b9176d58c6c6e0b3" - } -} diff --git a/pkgbuilds/elephant-unicode/PKGBUILD b/pkgbuilds/elephant-unicode/PKGBUILD deleted file mode 100644 index be103a2..0000000 --- a/pkgbuilds/elephant-unicode/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-unicode -pkgver=2.22.1 -pkgrel=2 -pkgdesc='unicode provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-unicode') -provides=('elephant-unicode') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/unicode - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/unicode - install -Dm 755 unicode.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant-websearch/.omarchy/package.json b/pkgbuilds/elephant-websearch/.omarchy/package.json deleted file mode 100644 index e5f3fe6..0000000 --- a/pkgbuilds/elephant-websearch/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant-websearch", - "commit": "6b5da831da33e3533593823826a8ffb1a008a299" - } -} diff --git a/pkgbuilds/elephant-websearch/PKGBUILD b/pkgbuilds/elephant-websearch/PKGBUILD deleted file mode 100644 index 7635be3..0000000 --- a/pkgbuilds/elephant-websearch/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant-websearch -pkgver=2.22.1 -pkgrel=2 -pkgdesc='websearch provider for elephant' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant-websearch') -provides=('elephant-websearch') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd elephant-${pkgver}/internal/providers/websearch - go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath -} - -package() { - cd elephant-${pkgver}/internal/providers/websearch - install -Dm 755 websearch.so -t "${pkgdir}/usr/lib/elephant" - - cd ../../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/elephant/.omarchy/package.json b/pkgbuilds/elephant/.omarchy/package.json deleted file mode 100644 index 13506dc..0000000 --- a/pkgbuilds/elephant/.omarchy/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "source": "local", - "upstream": { - "watch": { - "github": "abenz1267/elephant", - "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" - } - }, - "origin": { - "aur": "elephant", - "commit": "6dd02e6987a7a91be6a33e9600147523efa7fa5a" - } -} diff --git a/pkgbuilds/elephant/PKGBUILD b/pkgbuilds/elephant/PKGBUILD deleted file mode 100644 index 517fe0d..0000000 --- a/pkgbuilds/elephant/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Andrej Benz - -pkgname=elephant -pkgver=2.22.1 -pkgrel=2 -pkgdesc='general purpose datasource and executor' -url='https://github.com/abenz1267/elephant' -arch=('x86_64' 'aarch64') -license=('GPL') -makedepends=('go') -conflicts=('elephant') -provides=('elephant') -source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3d1d0d4c55ae531fa3f06406b96504b5165a0d7b53523d1f8351d9d93e457f44') - -build() { - cd ${pkgname}-${pkgver}/cmd/elephant - go build -ldflags="-s -w" -buildvcs=false -x -o elephant -trimpath -} - -package() { - cd ${pkgname}-${pkgver}/cmd/elephant - install -Dm 755 elephant -t "${pkgdir}/usr/bin" - - cd ../../ - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/pkgbuilds/omarchy-walker/.omarchy/package.json b/pkgbuilds/omarchy-walker/.omarchy/package.json deleted file mode 100644 index 2a9719d..0000000 --- a/pkgbuilds/omarchy-walker/.omarchy/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "source": "local" -} diff --git a/pkgbuilds/omarchy-walker/PKGBUILD b/pkgbuilds/omarchy-walker/PKGBUILD deleted file mode 100644 index 923a7bb..0000000 --- a/pkgbuilds/omarchy-walker/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -pkgname=omarchy-walker -pkgver=1.0.0 -pkgrel=2 -pkgdesc='Meta package for walker with Elephant providers for Omarchy' -arch=('x86_64' 'aarch64') -url='https://omarchy.org' -license=('MIT') -options=('!debug') -depends=( - 'walker' - 'elephant' - 'elephant-bluetooth' - 'elephant-calc' - 'elephant-clipboard' - 'elephant-desktopapplications' - 'elephant-files' - 'elephant-menus' - 'elephant-providerlist' - 'elephant-runner' - 'elephant-symbols' - 'elephant-todo' - 'elephant-unicode' - 'elephant-websearch' -)