move to new repo

This commit is contained in:
tumillanino
2026-03-24 20:17:22 +11:00
parent 083b57c87b
commit 35bcba335a
1910 changed files with 161640 additions and 41 deletions

View File

@@ -0,0 +1,53 @@
#!/usr/bin/env bash
set -oue pipefail
./install-divested.sh 20250714
./install-divested.sh https://divested.dev/rpm/fedora/divested-release-20250714-1.noarch.rpm
BASE_URL='https://divested.dev/rpm/fedora'
PKG_PREFIX='divested-release'
ARCH='noarch'
RPM_SUFFIX='-1' # adjust if upstream uses a different release number
RETRY_OPTS=(--retry 3 --retry-delay 5 -S -L -O)
if [ "${#}" -eq 0 ]; then
echo "Usage: $0 YYYYMMDD | FULL_RPM_URL" >&2
exit 2
fi
INPUT="$1"
case "$INPUT" in
http:// | https://)
RPM_URL="$INPUT"
;;
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
RELEASE_VERSION="$INPUT"
FILENAME="${PKG_PREFIX}-${RELEASE_VERSION}${RPM_SUFFIX}.${ARCH}.rpm"
RPM_URL="${BASE_URL}/${FILENAME}"
;;
*)
echo "Invalid argument. Provide a date (YYYYMMDD) or a full URL." >&2
exit 1
;;
esac
TMPDIR="$(mktemp -d)"
trap 'rm -rf "$TMPDIR"' EXIT
RPM_PATH="${TMPDIR}/$(basename "$RPM_URL")"
echo "Downloading ${RPM_URL} ..."
if command -v curl >/dev/null 2>&1; then
curl "${RETRY_OPTS[@]}" -o "$RPM_PATH" "$RPM_URL"
elif command -v wget >/dev/null 2>&1; then
wget --tries=3 --wait=5 -O "$RPM_PATH" "$RPM_URL"
else
echo "Neither curl nor wget available." >&2
exit 1
fi
echo "Installing ${RPM_PATH} ..."
sudo dnf install -y "$RPM_PATH"
echo "Installed $(basename "$RPM_PATH")"

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -oue pipefail
mv /tmp/files/assets/images/distributor-logo.svg /usr/share/icons/hicolor/scalable/places/distributor-logo.svg
mv /tmp/files/assets/splash/default.jxl /usr/share/backgrounds/default.jxl
mv /tmp/files/assets/splash/default-dark.jxl /usr/share/backgrounds/default-dark.jxl
mv /tmp/files/assets/images/watermark.png /usr/share/plymouth/themes/spinner/watermark.png

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -oue pipefail
systemctl enable realtime-setup.service
systemctl enable realtime-entsk.service

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env bash
# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail
# Your code goes here.
echo 'This is an example shell script'
echo 'Scripts here will run during build if specified in recipe.yml'

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
curl -L -o /tmp/reaper.tar.xz "https://www.reaper.fm/files/7.x/reaper765_linux_x86_64.tar.xz"
tar -xJf /tmp/reaper.tar.xz -C /tmp
cd /tmp/reaper_linux_x86_64
./install-reaper.sh --install /usr/lib --integrate-desktop
if [ -f "/root/.local/share/applications/cockos-reaper.desktop" ]; then
mkdir -p /usr/share/applications/
mv /root/.local/share/applications/cockos-reaper.desktop /usr/share/applications/
sed -i 's|/root/opt/REAPER|/usr/lib/REAPER|g' /usr/share/applications/cockos-reaper.desktop
fi
rm -rf /tmp/reaper*

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
curl -L -o /tmp/renoise.tar.gz "https://files.renoise.com/demo/Renoise_3_5_4_Demo_Linux_x86_64.tar.gz"
tar xvf /tmp/renoise.tar.gz -C /tmp
cd /tmp/Renoise_3_5_4_Demo_Linux_x86_64
./install.sh || echo "Installer finished with minor warnings (likely desktop-integration related)"
rm -rf /tmp/renoise.tar.gz /tmp/Renoise* || true
exit 0

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
rpm_url="https://github.com/surge-synthesizer/releases-xt/releases/download/1.3.4/surge-xt-x86_64-1.3.4.rpm"
dnf install -y --nogpgcheck "$rpm_url"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"