Updated reflex-appimage to 1.0.10-3

This commit is contained in:
2026-05-06 14:34:52 +02:00
parent c7837accaa
commit 1c06388f7e
4 changed files with 12 additions and 13 deletions

View File

@@ -1,10 +1,11 @@
pkgbase = reflex-appimage pkgbase = reflex-appimage
pkgdesc = A next-generation, modern, and lightweight SSH client engineered for absolute efficiency pkgdesc = A next-generation, modern, and lightweight SSH client engineered for absolute efficiency
pkgver = 1.0.10 pkgver = 1.0.10
pkgrel = 2 pkgrel = 3
url = https://github.com/Sunhaiy/Reflex url = https://github.com/Sunhaiy/Reflex
arch = x86_64 arch = x86_64
license = AGPL3 license = AGPL3
depends = fuse2
provides = reflex provides = reflex
conflicts = reflex conflicts = reflex
options = !strip options = !strip
@@ -13,7 +14,7 @@ pkgbase = reflex-appimage
source = reflex.desktop source = reflex.desktop
source = reflex.png source = reflex.png
sha256sums = 4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563 sha256sums = 4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563
sha256sums = 86d73c5ab1b998ba5ac6e9d866139a6bc456bf8de8f66e01ecc7ce996143724e sha256sums = e956f9c0be9e39aedf28c31a75ab5a00468e42d57ec2117f96d8a05fb0e27325
sha256sums = 90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a sha256sums = 90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a
pkgname = reflex-appimage pkgname = reflex-appimage

View File

@@ -6,12 +6,13 @@ _srcmntr="Sunhaiy"
pkgname="${_pkgname}-appimage" pkgname="${_pkgname}-appimage"
pkgver="1.0.10" pkgver="1.0.10"
pkgrel="2" pkgrel="3"
pkgdesc="A next-generation, modern, and lightweight SSH client engineered for absolute efficiency" pkgdesc="A next-generation, modern, and lightweight SSH client engineered for absolute efficiency"
url="https://github.com/${_srcmntr}/${_srcname}" url="https://github.com/${_srcmntr}/${_srcname}"
arch=("x86_64") arch=("x86_64")
license=("AGPL3") license=("AGPL3")
options=("!strip" "!debug") options=("!strip" "!debug")
depends=("fuse2")
_archive="${_pkgname}-${pkgver}.AppImage" _archive="${_pkgname}-${pkgver}.AppImage"
source=( source=(
"${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/v${pkgver}/reflex-${pkgver}-linux-x86_64.AppImage" "${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/v${pkgver}/reflex-${pkgver}-linux-x86_64.AppImage"
@@ -23,7 +24,7 @@ provides=("reflex")
sha256sums=( sha256sums=(
"4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563" "4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563"
"86d73c5ab1b998ba5ac6e9d866139a6bc456bf8de8f66e01ecc7ce996143724e" "e956f9c0be9e39aedf28c31a75ab5a00468e42d57ec2117f96d8a05fb0e27325"
"90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a" "90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a"
) )

14
push.sh
View File

@@ -38,28 +38,25 @@ else
fi fi
# Perform variable substitution # Perform variable substitution
url="${url//\$\{pkgname\}/$pkgname}"
url="${url//\$\{_pkgname\}/$_pkgname}" url="${url//\$\{_pkgname\}/$_pkgname}"
url="${url//\$\{_srcname\}/$_srcname}" url="${url//\$\{_srcname\}/$_srcname}"
url="${url//\$\{_srcmntr\}/$_srcmntr}" url="${url//\$\{_srcmntr\}/$_srcmntr}"
url="${url//\$\{pkgver\}/$pkgver}" url="${url//\$\{pkgver\}/$pkgver}"
_archive="${_archive//\$\{pkgname\}/$pkgname}"
_archive="${_archive//\$\{_pkgname\}/$_pkgname}" _archive="${_archive//\$\{_pkgname\}/$_pkgname}"
_archive="${_archive//\$\{pkgver\}/$pkgver}" _archive="${_archive//\$\{pkgver\}/$pkgver}"
aur_url="${aur_url//\$\{_pkgname\}/$_pkgname}" aur_url="${aur_url//\$\{_pkgname\}/$_pkgname}"
pkgname="${pkgname//\$\{_pkgname\}/$_pkgname}"
# Download archive # Download archive
wget -O ${_archive} "${url}" wget -qO ${_archive} "${url}"
# Extract icon / .desktop files if appimage # Extract icon / .desktop files if appimage
if printf '%s' "${_archive,,}" | grep -qi "appimage"; then if printf '%s' "${_archive,,}" | grep -qi "appimage"; then
chmod +x "${_archive}" chmod +x "${_archive}"
"./${_archive}" --appimage-extract "./${_archive}" --appimage-extract >/dev/null
cp "squashfs-root/${desktop}" "${newdesktop}" cp "squashfs-root/${desktop}" "${newdesktop}"
cp "squashfs-root/${icon}" "${newicon}" cp "squashfs-root/${icon}" "${newicon}"
sed -i -e '/^X-AppImage-/d;/^$/d' "${newdesktop}" sed -i -e '/^X-AppImage-/d;/^$/d' "${newdesktop}"
if [ -L "squashfs-root" ]; then rm -rf $(readlink -f squashfs-root) squashfs-root
rm -rf $(readlink -f squashfs-root) squashfs-root
fi
fi fi
# Calculate checksums # Calculate checksums
sha256bin=$(sha256sum ${_archive} | awk '{print $1}') sha256bin=$(sha256sum ${_archive} | awk '{print $1}')
@@ -87,6 +84,7 @@ makepkg --printsrcinfo > .SRCINFO
# Create git message with correct variable # Create git message with correct variable
if [ -n "$_pkgname" ]; then if [ -n "$_pkgname" ]; then
echo "$pkgname"
commit_msg="Updated ${pkgname//\$\{_pkgname\}/_pkgname} to ${pkgver}-${pkgrel}" commit_msg="Updated ${pkgname//\$\{_pkgname\}/_pkgname} to ${pkgver}-${pkgrel}"
else else
commit_msg="Updated ${pkgname} to ${pkgver}-${pkgrel}" commit_msg="Updated ${pkgname} to ${pkgver}-${pkgrel}"
@@ -95,7 +93,7 @@ fi
if [ -z "${NO_GIT_PUSH}" ]; then if [ -z "${NO_GIT_PUSH}" ]; then
# In case of fire, git commit, git push, leave building # In case of fire, git commit, git push, leave building
git add . git add .
git commit -m "Updated ${pkgname} to ${pkgver}-${pkgrel}" git commit -m "${commit_msg}"
git remote add aur ${aur_url} git remote add aur ${aur_url}
git push origin main git push origin main
git push aur main:master git push aur main:master

View File

@@ -5,6 +5,5 @@ Terminal=false
Type=Application Type=Application
Icon=reflex Icon=reflex
StartupWMClass=Reflex StartupWMClass=Reflex
X-AppImage-Version=1.0.10
Comment=Reflex is a modern SSH workspace with terminal, file, Docker, monitoring, and agent workflows. Comment=Reflex is a modern SSH workspace with terminal, file, Docker, monitoring, and agent workflows.
Categories=Utility; Categories=Utility;