Hi @fmartingr. Thanks for maintaining this package. I wrote some time ago about an issue with this app using dark color themes. I was able to replicate the issue in Ubuntu so I opened a ticket in the Synology support website. It is an issue with the drive.stylesheet and component.default.stylesheet files. I will write back here if they offer any workaround or fix.
Regarding the PKGBUILD here, there are some issue as well:
-
11112 is part of the official release version, so you should use it accordingly:
pkgver=2.0.4_11112
. Note that I replace the hyphen with an underscore as mentioned in the guidelines [1]. -
pkgrel
is meant to distinguish different builds from the same upstream versions. For example, when you do a change in the PKGBUILD. You should replace 11112 with 1. But note that when doing that, AUR helpers will believe it is a downgrade so you should also enable theepoch
. Again, check [1]. -
You should change license to
custom
and install the license file in the right place [2]. You can add something like this at the end of package() function.
install -Dm 644 "${pkgdir}"/opt/Synology/SynologyDrive/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- I don't understand where did you get the dependencies. If you check the .deb package, this is what you get:
$ dpkg -I synology-drive-client-11112.x86_64.deb
(...)
Depends: libc6 (>= 2.19), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.12.0)
Suggests: nautilus (>= 3.4.2)
(...)
So why binutils
, fontconfig
and libsm
are dependencies?
- (Optional) You can achieve the same you are doing in both prepare() and package() with two lines in package():
cd "${srcdir}"
tar -xJf data.tar.xz -C "${pkgdir}"
- (Optional) It would be nice to check if the app can run using the libraries provided by Archlinux. Most of libraries included by Synology in the .deb are available in the system adding
qt5-base
,qt5-svg
,curl
,openssl
,zlib
andsqlite
to dependencies. But this may be a bit of extra work.
Pinned Comments
schinfo commented on 2024-11-11 08:55 (UTC)
IMPORTANT !!! - Version 3.5.1-16102 fixed an security vulnerability. (Synology-SA-24:21)