blob: a393af3ee9d996834fdbedd39c942db4f0e9ac32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Jean Finas <jean@finas.io>
# Contributer: Ignacio Felipe <djkork@gmail.com>
# Contributer: bangbang93 <bangbang93@163.com>
pkgname=qsync
pkgver=1.0.11.0509
pkgrel=1
epoch=1
pkgdesc="QNap's synchronization client"
url="https://www.qnap.com/en/utilities/essentials"
arch=('x86_64')
license=('custom')
optdepends=('nautilus: this client has nautlius integration')
changelog=
source=("${pkgname}-${pkgver}.deb::https://download.qnap.com/Storage/Utility/QNAPQsyncClientUbuntux64-${pkgver}.deb"
'kde-open5'
'Qsync.sh.patch'
'QsyncRestart.sh.patch'
)
noextract=()
md5sums=('3f2068a610be12096ae3e8b57f95bd6f'
'ef5abc8367e97f42313bb4545d6acadf'
'923af1881c03c429c4623305d108a5b5'
'cfa6be2d8391bde792381740542176b2')
package() {
cd $srcdir
ar x "${pkgname}-${pkgver}.deb"
tar -xf data.tar.xz -C "${pkgdir}"
mv ${pkgdir}/lib/* "${pkgdir}/usr/lib"
rm -r ${pkgdir}/lib
install -D -m 755 -o root "${srcdir}/kde-open5" "${pkgdir}/usr/local/bin/QNAP/QsyncClient/kde-open5"
qnapdir="${pkgdir}/usr/local/bin/QNAP/QsyncClient"
patch "${qnapdir}/Qsync.sh" < "${srcdir}/Qsync.sh.patch"
patch "${qnapdir}/QsyncRestart.sh" < "${srcdir}/QsyncRestart.sh.patch"
}
|