You've already forked reflex-appimage
Updated reflex-appimage to 1.0.10-3
This commit is contained in:
5
.SRCINFO
5
.SRCINFO
@@ -1,10 +1,11 @@
|
||||
pkgbase = reflex-appimage
|
||||
pkgdesc = A next-generation, modern, and lightweight SSH client engineered for absolute efficiency
|
||||
pkgver = 1.0.10
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://github.com/Sunhaiy/Reflex
|
||||
arch = x86_64
|
||||
license = AGPL3
|
||||
depends = fuse2
|
||||
provides = reflex
|
||||
conflicts = reflex
|
||||
options = !strip
|
||||
@@ -13,7 +14,7 @@ pkgbase = reflex-appimage
|
||||
source = reflex.desktop
|
||||
source = reflex.png
|
||||
sha256sums = 4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563
|
||||
sha256sums = 86d73c5ab1b998ba5ac6e9d866139a6bc456bf8de8f66e01ecc7ce996143724e
|
||||
sha256sums = e956f9c0be9e39aedf28c31a75ab5a00468e42d57ec2117f96d8a05fb0e27325
|
||||
sha256sums = 90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a
|
||||
|
||||
pkgname = reflex-appimage
|
||||
|
||||
5
PKGBUILD
5
PKGBUILD
@@ -6,12 +6,13 @@ _srcmntr="Sunhaiy"
|
||||
|
||||
pkgname="${_pkgname}-appimage"
|
||||
pkgver="1.0.10"
|
||||
pkgrel="2"
|
||||
pkgrel="3"
|
||||
pkgdesc="A next-generation, modern, and lightweight SSH client engineered for absolute efficiency"
|
||||
url="https://github.com/${_srcmntr}/${_srcname}"
|
||||
arch=("x86_64")
|
||||
license=("AGPL3")
|
||||
options=("!strip" "!debug")
|
||||
depends=("fuse2")
|
||||
_archive="${_pkgname}-${pkgver}.AppImage"
|
||||
source=(
|
||||
"${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/v${pkgver}/reflex-${pkgver}-linux-x86_64.AppImage"
|
||||
@@ -23,7 +24,7 @@ provides=("reflex")
|
||||
|
||||
sha256sums=(
|
||||
"4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563"
|
||||
"86d73c5ab1b998ba5ac6e9d866139a6bc456bf8de8f66e01ecc7ce996143724e"
|
||||
"e956f9c0be9e39aedf28c31a75ab5a00468e42d57ec2117f96d8a05fb0e27325"
|
||||
"90a0628bd8b3628609e7965d792478cf9f4fcc74a31ef450d0d47148eeb2da0a"
|
||||
)
|
||||
|
||||
|
||||
12
push.sh
12
push.sh
@@ -38,29 +38,26 @@ else
|
||||
fi
|
||||
|
||||
# Perform variable substitution
|
||||
url="${url//\$\{pkgname\}/$pkgname}"
|
||||
url="${url//\$\{_pkgname\}/$_pkgname}"
|
||||
url="${url//\$\{_srcname\}/$_srcname}"
|
||||
url="${url//\$\{_srcmntr\}/$_srcmntr}"
|
||||
url="${url//\$\{pkgver\}/$pkgver}"
|
||||
_archive="${_archive//\$\{pkgname\}/$pkgname}"
|
||||
_archive="${_archive//\$\{_pkgname\}/$_pkgname}"
|
||||
_archive="${_archive//\$\{pkgver\}/$pkgver}"
|
||||
aur_url="${aur_url//\$\{_pkgname\}/$_pkgname}"
|
||||
pkgname="${pkgname//\$\{_pkgname\}/$_pkgname}"
|
||||
|
||||
# Download archive
|
||||
wget -O ${_archive} "${url}"
|
||||
wget -qO ${_archive} "${url}"
|
||||
# Extract icon / .desktop files if appimage
|
||||
if printf '%s' "${_archive,,}" | grep -qi "appimage"; then
|
||||
chmod +x "${_archive}"
|
||||
"./${_archive}" --appimage-extract
|
||||
"./${_archive}" --appimage-extract >/dev/null
|
||||
cp "squashfs-root/${desktop}" "${newdesktop}"
|
||||
cp "squashfs-root/${icon}" "${newicon}"
|
||||
sed -i -e '/^X-AppImage-/d;/^$/d' "${newdesktop}"
|
||||
if [ -L "squashfs-root" ]; then
|
||||
rm -rf $(readlink -f squashfs-root) squashfs-root
|
||||
fi
|
||||
fi
|
||||
# Calculate checksums
|
||||
sha256bin=$(sha256sum ${_archive} | awk '{print $1}')
|
||||
if [ "${gui}" = "true" ]; then
|
||||
@@ -87,6 +84,7 @@ makepkg --printsrcinfo > .SRCINFO
|
||||
|
||||
# Create git message with correct variable
|
||||
if [ -n "$_pkgname" ]; then
|
||||
echo "$pkgname"
|
||||
commit_msg="Updated ${pkgname//\$\{_pkgname\}/_pkgname} to ${pkgver}-${pkgrel}"
|
||||
else
|
||||
commit_msg="Updated ${pkgname} to ${pkgver}-${pkgrel}"
|
||||
@@ -95,7 +93,7 @@ fi
|
||||
if [ -z "${NO_GIT_PUSH}" ]; then
|
||||
# In case of fire, git commit, git push, leave building
|
||||
git add .
|
||||
git commit -m "Updated ${pkgname} to ${pkgver}-${pkgrel}"
|
||||
git commit -m "${commit_msg}"
|
||||
git remote add aur ${aur_url}
|
||||
git push origin main
|
||||
git push aur main:master
|
||||
|
||||
@@ -5,6 +5,5 @@ Terminal=false
|
||||
Type=Application
|
||||
Icon=reflex
|
||||
StartupWMClass=Reflex
|
||||
X-AppImage-Version=1.0.10
|
||||
Comment=Reflex is a modern SSH workspace with terminal, file, Docker, monitoring, and agent workflows.
|
||||
Categories=Utility;
|
||||
|
||||
Reference in New Issue
Block a user