summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchibald8692023-09-14 22:23:29 +0200
committerarchibald8692023-09-14 22:23:29 +0200
commita3cb754e79aac1f9d5924533192a3d5fbaeaff42 (patch)
treec72ef54c87be0b156605cd6356c1a0f4558a121f
parentb5914b79086f7e1e79182fadeb153dabc3e4b7c1 (diff)
downloadaur-a3cb754e79aac1f9d5924533192a3d5fbaeaff42.tar.gz
Update to version 13.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 445e328b99fe..f0f137e1ccbf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = freefilesync-bin
pkgdesc = Folder comparison and synchronization
- pkgver = 12.5
+ pkgver = 13.0
pkgrel = 1
url = https://freefilesync.org
install = .install
@@ -13,9 +13,9 @@ pkgbase = freefilesync-bin
conflicts = freefilesync
options = !strip
source = dlagent
- source = freefilesync-bin-12.5.tar.gz::https://freefilesync.org/download/FreeFileSync_12.5_Linux.tar.gz
+ source = freefilesync-bin-13.0.tar.gz::https://freefilesync.org/download/FreeFileSync_13.0_Linux.tar.gz
sha256sums = 21ad62ebf8659bb49a27d1cb1ff29fb7073f206a0ebd4c44340a9afa2b7da218
- sha256sums = 789f6bdf1431074127f0d17b4a17fb47651a37a41eb31995e46b5915ae6b4507
+ sha256sums = 144294ba080248c371392c6ef09b85bb0489e9e3beaac749fd21279c8724401b
depends_i686 = lib32-at-spi2-core
depends_i686 = lib32-gdk-pixbuf2
depends_i686 = lib32-libsm
diff --git a/PKGBUILD b/PKGBUILD
index d2251061dfa8..6469f49953af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=freefilesync-bin
_pkgname=freefilesync
-pkgver=12.5
+pkgver=13.0
pkgrel=1
pkgdesc="Folder comparison and synchronization"
arch=("i686" "x86_64")
@@ -26,7 +26,7 @@ source=(
)
sha256sums=(
"21ad62ebf8659bb49a27d1cb1ff29fb7073f206a0ebd4c44340a9afa2b7da218"
- "789f6bdf1431074127f0d17b4a17fb47651a37a41eb31995e46b5915ae6b4507"
+ "144294ba080248c371392c6ef09b85bb0489e9e3beaac749fd21279c8724401b"
)
options=(!strip)
install=".install"
@@ -69,7 +69,10 @@ package() {
# desktop launchers
for tmpl in "$srcdir"/*.template.desktop; do
f="${tmpl/.template/}"
- sed -E -e 's#^(Exec=")FFS_INSTALL_PATH/([^"]+")#\1/opt/freefilesync/\2#' \
+ # eliminate FFS_INSTALL_PATH and fix quoting of Exec command
+ new='Exec=/bin/bash -c '"'"'paths=(%F); cd "$(dirname "${paths[0]}")"; "/opt/freefilesync/\1" "${paths[@]}"'"'"
+ sed -E -e 's#^Exec=.+FFS_INSTALL_PATH/([^\\"]+)\\".+$'"#$new#" \
+ -e 's#^(Exec=")FFS_INSTALL_PATH/([^"]+")#\1/opt/freefilesync/\2#' \
-e 's#^(Icon="?)FFS_INSTALL_PATH/Resources/#\1#' \
"$tmpl" > "$f"
install -Dm644 -t "$pkgdir/usr/share/applications/" "$f"