summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Lybin2016-03-24 23:30:48 +0700
committerLev Lybin2016-03-24 23:30:48 +0700
commit4a0e988752f2a9447f397616e638eb052106a688 (patch)
treec81c19e37b2aa3a358ae84b8904cd939e81a40ca
downloadaur-4a0e988752f2a9447f397616e638eb052106a688.tar.gz
0x0
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD26
-rw-r--r--synology-cloud-station-backup.install12
4 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fe5fce8b043
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Mar 24 16:30:43 UTC 2016
+pkgbase = synology-cloud-sync-decryption-tool
+ pkgdesc = A desktop tool to decrypt data encrypted by Cloud Sync
+ pkgver = 009
+ pkgrel = 1
+ url = http://www.synology.com
+ arch = i686
+ arch = x86_64
+ license = unknown
+ depends = qt5-base
+ source_i686 = http://global.download.synology.com/download/Tools/SynologyCloudSyncDecryptionTool/009/Linux/i686/SynologyCloudSyncDecryptionTool-009.tar.gz
+ md5sums_i686 = abcea77e81631b36299365c863596aad
+ source_x86_64 = http://global.download.synology.com/download/Tools/SynologyCloudSyncDecryptionTool/009/Linux/x86_64/SynologyCloudSyncDecryptionTool-009_x64.tar.gz
+ md5sums_x86_64 = 89400e01e23b1bd5b19dd70ef8f7b34e
+
+pkgname = synology-cloud-sync-decryption-tool
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..eeeab02e9c1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*
+!PKGBUILD
+!.SRCINFO
+!*.install
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bd65cbbef0c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Lev Lybin <aur@devtrue.net>
+
+pkgname=synology-cloud-sync-decryption-tool
+pkgver=009
+pkgrel=1
+pkgdesc="A desktop tool to decrypt data encrypted by Cloud Sync"
+arch=('i686' 'x86_64')
+url="http://www.synology.com"
+license=('unknown')
+depends=('qt5-base')
+
+source_x86_64=(http://global.download.synology.com/download/Tools/SynologyCloudSyncDecryptionTool/${pkgver}/Linux/x86_64/SynologyCloudSyncDecryptionTool-${pkgver}_x64.tar.gz)
+md5sums_i686=('abcea77e81631b36299365c863596aad')
+md5sums_x86_64=('89400e01e23b1bd5b19dd70ef8f7b34e')
+source_i686=(http://global.download.synology.com/download/Tools/SynologyCloudSyncDecryptionTool/${pkgver}/Linux/i686/SynologyCloudSyncDecryptionTool-${pkgver}.tar.gz)
+
+prepare() {
+ cd "${srcdir}"
+}
+
+package() {
+ mkdir -p "${pkgdir}/opt/Synology/CloudSyncDecryptionTool/platforms"
+ install -Dm755 SynologyCloudSyncDecryptionTool "${pkgdir}/opt/Synology/CloudSyncDecryptionTool"
+ install -t "${pkgdir}/opt/Synology/CloudSyncDecryptionTool" *.so.*
+ install -t "${pkgdir}/opt/Synology/CloudSyncDecryptionTool/platforms" platforms/*.so
+}
diff --git a/synology-cloud-station-backup.install b/synology-cloud-station-backup.install
new file mode 100644
index 00000000000..4d4a283dba5
--- /dev/null
+++ b/synology-cloud-station-backup.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}