Retire the elephant packages and omarchy-walker (#872)
Omarchy 4 no longer uses Elephant or the omarchy-walker meta package, and omarchy-upgrade-to-quattro removes them; every channel serves Omarchy 4.0.4. Nothing else here depends on them. walker itself stays. Deleting a recipe stops it building but leaves it in the channel databases, and the only removal tool worked on the old repository host's local tree. Add bin/unpublish-packages, publish-artifact's counterpart: pull the channel database, repo-remove every entry built from the named pkgbases, upload it. Package files stay in the bucket. unpublish.yml runs it per channel and architecture under the publish lock, for packages with no recipe on master.
This commit is contained in:
1 parent
cb3909f052
commit
2cce621d95
37 files changed
+175
-667
No files matched your search
@@ -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
|
||||
@@ -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 <package> # Add an Omarchy-owned package with metadata
|
||||
bin/package-worktree <package> # Inspect historical AUR provenance in a scratch workspace
|
||||
bin/repo remove <package> # Remove package
|
||||
bin/repo remove <package> # 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="<pkgbase> ..." -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
#!/bin/bash
|
||||
# Retire packages from one channel of the remote repository.
|
||||
#
|
||||
# unpublish-packages --mirror <edge|rc|stable> --arch <arch> <pkgbase...>
|
||||
#
|
||||
# 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"
|
||||
@@ -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/) |
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-all",
|
||||
"commit": "5614a0a61616643e448fb7c68d58237715ce2739"
|
||||
}
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-archlinuxpkgs",
|
||||
"commit": "659b81f1aa74a13fd2ebec222e19da2046d8e977"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-bluetooth",
|
||||
"commit": "42d9dd5424884c51b8fe6bf7692caf0a31007f05"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-calc",
|
||||
"commit": "84aba9e90bbd65af45f83168cd6c7bce6ec4322e"
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-clipboard",
|
||||
"commit": "3176f9de1445e7115009383f9cdac116729fc7be"
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-desktopapplications",
|
||||
"commit": "c30e33db5fef912dec9aa157773b10ffab1e0307"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-files",
|
||||
"commit": "2d16502b7a905e7d7a03e0026c5519c3b3c4abf2"
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-menus",
|
||||
"commit": "5ab583fee6ba3e387d49ffe4e409bb84bc60ea24"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-providerlist",
|
||||
"commit": "1d756a138e926a81b9d33265f0197b8661168845"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-runner",
|
||||
"commit": "e47641530d912199372204cf8780ef37f99f0b37"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-symbols",
|
||||
"commit": "32263e8b71390ab38b8aa1fd82fc2595b41a5157"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-todo",
|
||||
"commit": "447978df5ea3afd1e10959d7973c0b35367724c3"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-unicode",
|
||||
"commit": "23222b0d304a234c74f630c5b9176d58c6c6e0b3"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant-websearch",
|
||||
"commit": "6b5da831da33e3533593823826a8ffb1a008a299"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "abenz1267/elephant",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "elephant",
|
||||
"commit": "6dd02e6987a7a91be6a33e9600147523efa7fa5a"
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>
|
||||
|
||||
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}"
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"source": "local"
|
||||
}
|
||||
@@ -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'
|
||||
)
|
||||
Reference in new issue
Block a user