Compare commits

..

1 Commits

Author SHA1 Message Date
2dccbf2232 first commit 2026-05-06 17:18:09 +02:00
3 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = deskflow-bin pkgbase = deskflow-appimage
pkgdesc = Share a single keyboard and mouse between multiple computers pkgdesc = Share a single keyboard and mouse between multiple computers
pkgver = 1.26.0 pkgver = 1.26.0
pkgrel = 4 pkgrel = 1
url = https://github.com/deskflow/deskflow url = https://github.com/deskflow/deskflow
arch = x86_64 arch = x86_64
license = AGPL3 license = AGPL3
@@ -9,7 +9,7 @@ pkgbase = deskflow-bin
conflicts = deskflow conflicts = deskflow
options = !strip options = !strip
options = !debug options = !debug
source = deskflow-1.26.0.deb::https://github.com/deskflow/deskflow/releases/download/v1.26.0/deskflow-1.26.0-debian-trixie-x86_64.deb source = deskflow-1.26.0.deb::https://github.com/deskflow/deskflow/releases/download/v1.26.0/deskflow-1.26.0-debian-trixie-x86_64.AppImage
sha256sums = c90535b55144b1cdbfcd80c362fc44398b7ccb9aad257aaee9ab9a3b52ae341c sha256sums = 4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563
pkgname = deskflow-bin pkgname = deskflow-appimage

View File

@@ -4,20 +4,20 @@ _pkgname="deskflow"
_srcname="deskflow" _srcname="deskflow"
_srcmntr="deskflow" _srcmntr="deskflow"
pkgname="${_pkgname}-bin" pkgname="${_pkgname}-appimage"
pkgver="1.26.0" pkgver="1.26.0"
pkgrel="4" pkgrel="1"
pkgdesc="Share a single keyboard and mouse between multiple computers" pkgdesc="Share a single keyboard and mouse between multiple computers"
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")
_archive="${_pkgname}-${pkgver}.deb" _archive="${_pkgname}-${pkgver}.deb"
source=("${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/v${pkgver}/deskflow-${pkgver}-debian-trixie-x86_64.deb") source=("${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/v${pkgver}/deskflow-${pkgver}-debian-trixie-x86_64.AppImage")
conflicts=("deskflow") conflicts=("deskflow")
provides=("deskflow") provides=("deskflow")
sha256sums=("c90535b55144b1cdbfcd80c362fc44398b7ccb9aad257aaee9ab9a3b52ae341c") sha256sums=("4760d432cd414539df029d1bf0776ebe9069f3c39193845badc52f36dcb27563")
package() { package() {
bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}" bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"

6
push.sh Executable file → Normal file
View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Variables # Variables
gui=false gui=true
desktop="deskflow.desktop" desktop="deskflow.desktop"
icon="deskflow.png" icon="deskflow.png"
@@ -55,8 +55,8 @@ if printf '%s' "${_archive,,}" | grep -qi "appimage"; then
"./${_archive}" --appimage-extract >/dev/null "./${_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 "/^X-AppImage-/d;/^$/d" "${newdesktop}" sed -i '/^X-AppImage-/d;/^$/d' "${newdesktop}"
sed -i "s/^Exec=.*/Exec=${_pkgname} %U/" "${newdesktop}" sed -i 's/^Exec=.*/Exec=${_pkgname} %U/' "${newdesktop}"
rm -rf $(readlink -f squashfs-root) squashfs-root rm -rf $(readlink -f squashfs-root) squashfs-root
fi fi
# Calculate checksums # Calculate checksums